summaryrefslogtreecommitdiff
path: root/git-log-script
Commit message (Collapse)AuthorAgeFilesLines
* Big tool rename.Junio C Hamano2005-09-071-15/+0
| | | | | | | | | | | | | | | | | | | As promised, this is the "big tool rename" patch. The primary differences since 0.99.6 are: (1) git-*-script are no more. The commands installed do not have any such suffix so users do not have to remember if something is implemented as a shell script or not. (2) Many command names with 'cache' in them are renamed with 'index' if that is what they mean. There are backward compatibility symblic links so that you and Porcelains can keep using the old names, but the backward compatibility support is expected to be removed in the near future. Signed-off-by: Junio C Hamano <junkio@cox.net>
* Fix git-log-script when HEAD is invalid.Junio C Hamano2005-08-311-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>
* Audit rev-parse users again.Junio C Hamano2005-08-241-1/+1
| | | | | | | Some callers to rev-parse were using the output selection flags inconsistently. Signed-off-by: Junio C Hamano <junkio@cox.net>
* Make "git-rev-list" work within subdirectoriesLinus Torvalds2005-08-231-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>
* git-log: make sure we have some commit to start from.Linus Torvalds2005-07-271-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>
* Make "git log" exit properly if not in a git archiveLinus Torvalds2005-07-101-0/+1
| | | | Instead of getting an incomprehensible error message from git-rev-list.
* Make "git log" use the new git-rev-parse helperLinus Torvalds2005-06-131-1/+1
| | | | See the previous commit for explanations.
* Add "git" and "git-log-script" helper scripts.Linus Torvalds2005-06-011-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.