author | Linus Torvalds <torvalds@osdl.org> | |
Sat, 15 Apr 2006 19:09:56 +0000 (12:09 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 16 Apr 2006 01:17:15 +0000 (18:17 -0700) | ||
commit | c5ccd8be43df4b916752a176512a9adaf3b94df9 | |
tree | 3ef3a9fab0d77d258d59c53e01835573cece389c | tree | snapshot |
parent | 1fc70b60bfda67205253595ad9dc040019c2efe5 | commit | diff |
Tentative built-in "git show"
This uses the "--no-walk" flag that I never actually implemented (but I'm
sure I mentioned it) to make "git show" be essentially the same thing as
"git whatchanged --no-walk".
It just refuses to add more interesting parents to the revision walking
history, so you don't actually get any history, you just get the commit
you asked for.
I was going to add "--no-walk" as a real argument flag to git-rev-list
too, but I'm not sure anybody actually needs it. Although it might be
useful for porcelain, so I left the door open.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This uses the "--no-walk" flag that I never actually implemented (but I'm
sure I mentioned it) to make "git show" be essentially the same thing as
"git whatchanged --no-walk".
It just refuses to add more interesting parents to the revision walking
history, so you don't actually get any history, you just get the commit
you asked for.
I was going to add "--no-walk" as a real argument flag to git-rev-list
too, but I'm not sure anybody actually needs it. Although it might be
useful for porcelain, so I left the door open.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git.c | diff | blob | history | |
log-tree.c | diff | blob | history | |
revision.c | diff | blob | history | |
revision.h | diff | blob | history |