author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 20 Aug 2007 02:33:43 +0000 (22:33 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 20 Aug 2007 05:52:06 +0000 (22:52 -0700) | ||
commit | d56651c0ef1c81c1d0509ea4464451d5724e4036 | |
tree | df92643fe2350dc8986a3ce7039e5c2ec9b28689 | tree | snapshot |
parent | 14cd56071520c3bb37252c8d0abe81c841465378 | commit | diff |
Don't allow combination of -g and --reverse as it doesn't work
The --walk-reflogs logic and the --reverse logic are completely
incompatible with one another. Attempting to use both at the same
time leads to confusing results that sometimes violates the user's
formatting options or ignores the user's request to see the reflog
message and timestamp.
Unfortunately the implementation of both of these features is glued
onto the side of the revision walking machinary in such a way that
they are probably not going to be easy to make them compatible with
each other. Rather than offering the user confusing results we are
better off bailing out with an error message until such a time as
the implementations can be refactored to be compatible.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The --walk-reflogs logic and the --reverse logic are completely
incompatible with one another. Attempting to use both at the same
time leads to confusing results that sometimes violates the user's
formatting options or ignores the user's request to see the reflog
message and timestamp.
Unfortunately the implementation of both of these features is glued
onto the side of the revision walking machinary in such a way that
they are probably not going to be easy to make them compatible with
each other. Rather than offering the user confusing results we are
better off bailing out with an error message until such a time as
the implementations can be refactored to be compatible.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-log.txt | diff | blob | history | |
Documentation/git-rev-list.txt | diff | blob | history | |
revision.c | diff | blob | history |