* log-tree.c: date hardwired
@ 2009-01-13 3:13 jidanni
2009-01-17 23:27 ` jidanni
0 siblings, 1 reply; 6+ messages in thread
From: jidanni @ 2009-01-13 3:13 UTC (permalink / raw)
To: git
In log-tree.c: printf("From %s Mon Sep 17 00:00:00 2001\n", name);
Wouldn't it be more aesthetically pleasing to use current local or UTC time?
Or at least comment in the code that the date is hardwired like that
in the fear that otherwise people will think it is the actual commit time.
No, I can't think of any other tool that hardwires the From separators
they produce.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: log-tree.c: date hardwired
2009-01-13 3:13 log-tree.c: date hardwired jidanni
@ 2009-01-17 23:27 ` jidanni
2009-01-17 23:38 ` Alex Riesen
2009-01-18 0:52 ` Junio C Hamano
0 siblings, 2 replies; 6+ messages in thread
From: jidanni @ 2009-01-17 23:27 UTC (permalink / raw)
To: git
Can I get a go-ahead from somebody for me to begin work on implementing a fix?
(Yes, trivial.)
>>>>> "j" == jidanni <jidanni@jidanni.org> writes:
j> In log-tree.c: printf("From %s Mon Sep 17 00:00:00 2001\n", name);
j> Wouldn't it be more aesthetically pleasing to use current local or UTC time?
j> Or at least comment in the code that the date is hardwired like that
j> in the fear that otherwise people will think it is the actual commit time.
j> No, I can't think of any other tool that hardwires the From separators
j> they produce.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: log-tree.c: date hardwired
2009-01-17 23:27 ` jidanni
@ 2009-01-17 23:38 ` Alex Riesen
2009-01-17 23:50 ` jidanni
2009-01-18 0:40 ` Sitaram Chamarty
2009-01-18 0:52 ` Junio C Hamano
1 sibling, 2 replies; 6+ messages in thread
From: Alex Riesen @ 2009-01-17 23:38 UTC (permalink / raw)
To: jidanni; +Cc: git
2009/1/18 <jidanni@jidanni.org>:
> Can I get a go-ahead from somebody for me to begin work on implementing a fix?
No. Try and guess why
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: log-tree.c: date hardwired
2009-01-17 23:38 ` Alex Riesen
@ 2009-01-17 23:50 ` jidanni
2009-01-18 0:40 ` Sitaram Chamarty
1 sibling, 0 replies; 6+ messages in thread
From: jidanni @ 2009-01-17 23:50 UTC (permalink / raw)
To: raa.lkml; +Cc: git
Perhaps a comment could be added to the code as to the reason a date
or that certain date is hardwired. Any reason would be satisfactory.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: log-tree.c: date hardwired
2009-01-17 23:38 ` Alex Riesen
2009-01-17 23:50 ` jidanni
@ 2009-01-18 0:40 ` Sitaram Chamarty
1 sibling, 0 replies; 6+ messages in thread
From: Sitaram Chamarty @ 2009-01-18 0:40 UTC (permalink / raw)
To: git
On 2009-01-17, Alex Riesen <raa.lkml@gmail.com> wrote:
> 2009/1/18 <jidanni@jidanni.org>:
>> Can I get a go-ahead from somebody for me to begin work
>> on implementing a fix?
>
> No. Try and guess why
OK, I'll bite...
Because it's only used as the date for the mbox format
leader line, and not an actual email (RFC 822/2822) header
line? And in that format it represents "delivery date",
which is irrelevant for stuff you're generating to be sent
out anyway, meaning this line doesn't actually get sent out
to anyone when you mail your patches, so we don't care what
it is.
I can't think of anything else, so if it isn't that please
do tell. Not that I cared about it before, but once someone
says "try and guess why" it somehow becomes important :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: log-tree.c: date hardwired
2009-01-17 23:27 ` jidanni
2009-01-17 23:38 ` Alex Riesen
@ 2009-01-18 0:52 ` Junio C Hamano
1 sibling, 0 replies; 6+ messages in thread
From: Junio C Hamano @ 2009-01-18 0:52 UTC (permalink / raw)
To: jidanni; +Cc: git
jidanni@jidanni.org writes:
> Can I get a go-ahead from somebody for me to begin work on implementing a fix?
No, don't "fix" it.
Please keep it as a known constant. That way, you can come up with an
/etc/magic entry to teach find(1) that it is not just a random mailbox but
is an output from format-patch.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-01-18 0:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 3:13 log-tree.c: date hardwired jidanni
2009-01-17 23:27 ` jidanni
2009-01-17 23:38 ` Alex Riesen
2009-01-17 23:50 ` jidanni
2009-01-18 0:40 ` Sitaram Chamarty
2009-01-18 0:52 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).