summaryrefslogtreecommitdiff
path: root/git-log-script
AgeCommit message (Collapse)AuthorFilesLines
2005-08-31Fix git-log-script when HEAD is invalid.Libravatar Junio C Hamano1-2/+13
It used 'die' without including git-sh-setup-script; since everything it uses are subdirectory-aware, instead of including the script to force it to be run from the top, use echo & exit. Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-24Audit rev-parse users again.Libravatar Junio C Hamano1-1/+1
Some callers to rev-parse were using the output selection flags inconsistently. Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-08-23Make "git-rev-list" work within subdirectoriesLibravatar Linus Torvalds1-2/+1
This trivial patch makes "git-rev-list" able to handle not being in the top-level directory. This magically also makes "git-whatchanged" do the right thing. Trivial scripting fix to make sure that "git log" also works. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-07-27git-log: make sure we have some commit to start from.Libravatar Linus Torvalds1-0/+2
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-10Make "git log" exit properly if not in a git archiveLibravatar Linus Torvalds1-0/+1
Instead of getting an incomprehensible error message from git-rev-list.
2005-06-13Make "git log" use the new git-rev-parse helperLibravatar Linus Torvalds1-1/+1
See the previous commit for explanations.
2005-06-01Add "git" and "git-log-script" helper scripts.Libravatar Linus Torvalds1-0/+2
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.