git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git's rev-parse.c function show_datestring presumes gnu date
@ 2005-11-14 23:02 Randal L. Schwartz
  2005-11-14 23:08 ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Randal L. Schwartz @ 2005-11-14 23:02 UTC (permalink / raw)
  To: git


git-rev-parse calls GNU date externally for --since, --after, --before,
and --until, which will fail on at least OpenBSD and Mac OSX (Darwin).

At a minimum, this code can be commented out on such platforms.  Better
would be to have some sort of suitable replacement.

Perhaps the Makefile can test if "date" is GNU date as well.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-15  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 23:02 git's rev-parse.c function show_datestring presumes gnu date Randal L. Schwartz
2005-11-14 23:08 ` Linus Torvalds
2005-11-15  3:29   ` Linus Torvalds

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).