Commit Graph

9 Commits

Author SHA1 Message Date
Eli Barzilay
ea591c3c23 * Add an attempt to find the SHA1 and date from the ".git/HEAD" file.
* Try "/opt/local/bin/git" on OSX, since it's a common path for git, and
  when running through the Finder it will usually not be found in the
  $PATH.

* Explain the various results in a detailed comment.
2010-11-01 17:26:06 -04:00
Eli Barzilay
af6364a58c Fix sha1-truncation, by removing it.
Usually, the "%h" format should result in an abbreviated sha1, but it
looks like getting it through `git archive' returns the full thing
rather than the truncated version.  So avoid the substring for now, and
find out if it's a git bug or not.
2010-07-25 05:01:44 -04:00
Eli Barzilay
1eac3e1d28 Show only first 10-character prefix of the sha1. 2010-07-25 04:13:27 -04:00
Eli Barzilay
7424735100 Switch to the stamp directory when running git. 2010-05-21 15:12:16 -04:00
Eli Barzilay
9c352f5704 More svn -> git changes.
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*".  (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
8f5b1f622c Hide stderr by combining it with the captured output => no stderr messages.
(Also, a slightly nicer string for the case of using the file timestamp.)
2010-05-12 11:15:14 -04:00
Eli Barzilay
aceeb391ad Use export-subst to tweak archive results of this file with date/sha1.
Also, make the code use these results, or if not from an archive, use
git, or if that fails, just the date of the file itself.
2010-05-12 05:43:16 -04:00
Eli Barzilay
87a5c3bfa2 use a more common short for repository 2010-05-10 06:52:14 -04:00