From: Junio C Hamano Date: Wed, 17 Jan 2007 21:04:15 +0000 (-0800) Subject: Documentation: m can be relative in "git-blame -Ln,m" X-Git-Tag: v1.5.0-rc2~46 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=42f62db90575601680739116c833ad0c76bcc85d;p=git.git Documentation: m can be relative in "git-blame -Ln,m" Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-blame.txt b/Documentation/git-blame.txt index b14e79407..5dd8e36bb 100644 --- a/Documentation/git-blame.txt +++ b/Documentation/git-blame.txt @@ -118,9 +118,12 @@ SPECIFYING RANGES Unlike `git-blame` and `git-annotate` in older git, the extent of annotation can be limited to both line ranges and revision ranges. When you are interested in finding the origin for -ll. 40-60 for file `foo`, you can use `-L` option like this: +ll. 40-60 for file `foo`, you can use `-L` option like these +(they mean the same thing -- both ask for 21 lines starting at +line 40): git blame -L 40,60 foo + git blame -L 40,+21 foo Also you can use regular expression to specify the line range.