author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
Tue, 9 Oct 2007 21:02:19 +0000 (23:02 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 16 Oct 2007 02:11:02 +0000 (22:11 -0400) | ||
commit | 477ff5b71aca9a3d05c8f83182eeb98d7a8f92ee | |
tree | 83829e078f6bf7f3cedd45cc5c618ef05e6631c2 | tree | snapshot |
parent | 2c619db8845e6259995ccb4f666e5bbc636c9e14 | commit | diff |
manual: Fix example finding commits referencing given content.
If I'm handed a file, then it typically lives outside the
working directory. git-log only operates on in-tree files,
so the first 'filename' should be an in-tree one, or it should
look at all files. This patch does the latter, so it would
also find renamed files. However, it is also slower.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
If I'm handed a file, then it typically lives outside the
working directory. git-log only operates on in-tree files,
so the first 'filename' should be an in-tree one, or it should
look at all files. This patch does the latter, so it would
also find renamed files. However, it is also slower.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Documentation/user-manual.txt | diff | blob | history |