Commit Graph

4 Commits

Author SHA1 Message Date
Linus Torvalds
b134922992 git-log: make sure we have some commit to start from.
When no usable head/tag is specified, git log barfed with
underlying error message from rev-list, which was not helpful.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-07-27 11:53:48 -07:00
Linus Torvalds
4bc5fbf82e Make "git log" exit properly if not in a git archive
Instead of getting an incomprehensible error message from git-rev-list.
2005-07-10 16:10:21 -07:00
Linus Torvalds
f04b05697c Make "git log" use the new git-rev-parse helper
See the previous commit for explanations.
2005-06-13 10:07:25 -07:00
Linus Torvalds
e764b8e8b3 Add "git" and "git-log-script" helper scripts.
The "git" script is just shorthand: "git xyz <args>" will just execute
"git-xyz-script <args>", which is useful for people used to the CVS
naming convention. So "git log" will run the new git-log-script, which
is just a wrapper around the new pretty-printing git-rev-list.

Cheesy.
2005-06-01 09:13:26 -07:00