Re: git and time

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

Re: git and time

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

David Lang [off-list ref] writes:
quoted
You are right that a "Merged Date:" in gitweb would be useful information to
show for each commit, but it's not straightforward given the design of git.
would it?

remember that a pach could be merged to many trees in any order. which
merge date do you want to know about?
The date that repository I am looking at with gitweb first had
that commit, of course.  What other dates did you have in mind?

Re: git and time

From: David Lang <hidden>
Date: 2016-06-15 22:42:42

On Tue, 26 Sep 2006, Junio C Hamano wrote:
David Lang [off-list ref] writes:
quoted
quoted
You are right that a "Merged Date:" in gitweb would be useful information to
show for each commit, but it's not straightforward given the design of git.
would it?

remember that a pach could be merged to many trees in any order. which
merge date do you want to know about?
The date that repository I am looking at with gitweb first had
that commit, of course.  What other dates did you have in mind?
if that repository is then merged into another one, what date would that second 
one record for that commit? the date it was pulled there?

in many cases this would seem to be useless or distracting information (you 
already display where in the history the merge took place, do you really need to 
attach that date to all changes that arrive from the branch?)

if you have something like

a-b-c-d-e-f-g
              \
h------i------j

or worse

     a
      \
b-----c-d
  \   /   \
   e-f-----g
            \
h-i---------j

do you really want the date of j attached to all the changes a-g?

and if this information really is important, wouldn't you want to export the 
info out (as j then gets merged into m somewhere else)

David Lang

Re: git and time

From: Sean <hidden>
Date: 2016-06-15 22:42:42

On Tue, 26 Sep 2006 18:31:59 -0700 (PDT)
David Lang [off-list ref] wrote:
if that repository is then merged into another one, what date would that second 
one record for that commit? the date it was pulled there?
Yes of course.  The question being posed and answered is.. when did the local
repository first get any specific commit.  For the sake of such a question
its merge history and path into the local repository doesn't matter, only
when the commit arrived locallly.

Sean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help