diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-08-19 22:33:43 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-08-19 22:52:06 -0700 |
commit | d56651c0ef1c81c1d0509ea4464451d5724e4036 (patch) | |
tree | df92643fe2350dc8986a3ce7039e5c2ec9b28689 /Documentation/git-log.txt | |
parent | Add the word reflog to Documentation/config.txt:core.logAllRefUpdates (diff) | |
download | tgif-d56651c0ef1c81c1d0509ea4464451d5724e4036.tar.xz |
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>
Diffstat (limited to 'Documentation/git-log.txt')
-rw-r--r-- | Documentation/git-log.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 5a90f65b5e..1e6dbd93b1 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -49,6 +49,7 @@ include::pretty-options.txt[] -g, \--walk-reflogs:: Show commits as they were recorded in the reflog. The log contains a record about how the tip of a reference was changed. + Cannot be combined with --reverse. See also gitlink:git-reflog[1]. --decorate:: |