Skip to contentSkip to conversation

docs/git-blame: explain carets on boundary commits

PATCH New Stephen Kitt 1 participant 1 message Jun 8, 2018 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/git-blame: explain carets on boundary commits

The caret on boundary commits is only mentioned in the description of --abbrev; this patch adds a description of the behaviour in the paragraph describing how revision range specifiers are handled.

---
 Documentation/git-blame.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/git-blame.txt +2 -1
index 16323eb80..7f814dcef 100644
@@ -163,7 +163,8 @@ When revision range specifiers are used to limit the annotation,
 lines that have not changed since the range boundary (either the
 commit v2.6.18 or the most recent commit that is more than 3
 weeks old in the above example) are blamed for that range
-boundary commit.
+boundary commit.  The sha1 is preceded by a caret, '^' to indicate
+this (and its length is reduced by 1).
 
 A particularly useful way is to see if an added file has lines
 created by copy-and-paste from existing files.  Sometimes this
Signature · 1 line
2.11.0