Re: [PATCHv7 2/9] gitweb: uniform author info for commit and commitdiff

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCHv7 2/9] gitweb: uniform author info for commit and commitdiff

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:59

Jakub Narebski [off-list ref] writes:
I would use:

  Switch from form similar to the one used by 'log' view

  	A U Thor [off-list ref] [date time]

  to the form used in 'commit' view

	author       A U Thor [off-list ref]
  	 	     date time
  	committer    C O Mitter [off-list ref]
  	             date time

(i.e. use spaces and not tabs to align).  But this is minor
issue, not worth worrying about IMVHO.
These extra blank lines make things much easier to read, and explicit
mention of switching from WHAT to WHAT ELSE is very much appreciated.
On the other hand side IIRC 'commitdiff' uses short (one-line) 
authorship info because the main point is the diff, and multi-line
author and commit info like the one used in 'commit' view takes
a bit of vertical space.
In general, we might want to make the committer information less prominent
than it currently is.

When looking at a repository that is used like CVS, author and committer
are always the same.  When looking at a repository that is owned by a
single integrator, the committer is a single person.  The only time
committer information for every commit would help is when viewing a
repository of higher level integrator in a project that has subintegrators
(e.g. Linus pulls from David who commits patches from others).

So at some point, it may not be a bad idea to introduce a per-repository
option/feature to hide committer information from certain views to
allocate more space for other information.

But certainly that shouldn't be a part of this topic.

Re: [PATCHv7 2/9] gitweb: uniform author info for commit and commitdiff

From: Giuseppe Bilotta <hidden>
Date: 2016-06-15 22:47:00

On Sat, Jun 27, 2009 at 8:38 PM, Junio C Hamano[off-list ref] wrote:
Jakub Narebski [off-list ref] writes:
quoted
I would use:

  Switch from form similar to the one used by 'log' view

      A U Thor [off-list ref] [date time]

  to the form used in 'commit' view

      author       A U Thor [off-list ref]
                   date time
      committer    C O Mitter [off-list ref]
                   date time

(i.e. use spaces and not tabs to align).  But this is minor
issue, not worth worrying about IMVHO.
These extra blank lines make things much easier to read, and explicit
mention of switching from WHAT to WHAT ELSE is very much appreciated.
I updated the patch accordingly.
quoted
On the other hand side IIRC 'commitdiff' uses short (one-line)
authorship info because the main point is the diff, and multi-line
author and commit info like the one used in 'commit' view takes
a bit of vertical space.
In general, we might want to make the committer information less prominent
than it currently is.
I've been thinking about this. A possible approach I considered could
be to only show the commit _date_ by default (which could be
interesting to see), and use some DHTML to show the committer on
request. But as you mention, this is not the patchset to do this kind
of work on 8-)

-- 
Giuseppe "Oblomov" Bilotta
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help