diff options
author | Steven Walter <stevenrwalter@gmail.com> | 2007-07-12 10:52:30 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-12 14:36:41 -0700 |
commit | 4f50f6a966dc9a1ff7d11b2ca5eb116fa9dd139a (patch) | |
tree | 55222824ae2cb772b80c142ef737ce148050a144 /Documentation/git-log.txt | |
parent | 5a235b5ed02fa0f9f67c4fbec703e3126eb3c7f5 (diff) | |
download | git-4f50f6a966dc9a1ff7d11b2ca5eb116fa9dd139a.tar.gz git-4f50f6a966dc9a1ff7d11b2ca5eb116fa9dd139a.tar.xz |
Documentation for git-log --follow
After vainly searching the Documentation for how to follow renames, I
finally broke down and grepped the source. It would appear that Linus
didn't add write and docs for this feature when he wrote it. The
following patch rectifies that, hopefully sparing future users from
resorting to the source code.
Signed-off-by: Steven Walter <stevenrwalter@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-log.txt')
-rw-r--r-- | Documentation/git-log.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 7adcdefac..63c1dbe81 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -61,6 +61,9 @@ include::pretty-options.txt[] the specified paths; this means that "<paths>..." limits only commits, and doesn't limit diff for those commits. +--follow:: + Continue listing the history of a file beyond renames. + <paths>...:: Show only commits that affect the specified paths. @@ -91,6 +94,12 @@ git log -r --name-status release..test:: in the "release" branch, along with the list of paths each commit modifies. +git log --follow builtin-rev-list.c:: + + Shows the commits that changed builtin-rev-list.c, including + those commits that occurred before the file was given its + present name. + Discussion ---------- |