Skip to content

Commit a5f85ba

Browse files
committed
sticking with blame for now
1 parent bd6d2c8 commit a5f85ba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

text/28_Finding_Issues_Git_Blame/0_ Finding_Issues_Git_Blame.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ line in the file.
1515
8e440259 (Peter Eriksen 2006-04-02 14:44:09 +0200 13) #include "commit.h"
1616
8e440259 (Peter Eriksen 2006-04-02 14:44:09 +0200 14) #include "tag.h"
1717
8e440259 (Peter Eriksen 2006-04-02 14:44:09 +0200 15) #include "tree.h"
18-
f35a6d3b (Linus Torvalds 2007-04-09 21:20:29 -0700 16) #include "refs.h"70f5d5d3 (Nicolas Pitre 2008-02-28 00:25:19 -0500 17) #include "pack-revindex.h"628522ec (Junio C Hamano 2007-12-29 02:05:47 -0800 18) #include "sha1-lookup.h"
18+
f35a6d3b (Linus Torvalds 2007-04-09 21:20:29 -0700 16) #include "refs.h"
19+
70f5d5d3 (Nicolas Pitre 2008-02-28 00:25:19 -0500 17) #include "pack-revindex.h"628522ec (Junio C Hamano 2007-12-29 02:05:47 -0800 18) #include "sha1-lookup.h"
1920
...
2021

2122
This is often helpful if a file had a line reverted or a mistake that broke
2223
the build to help you see who changed that line last.
2324

2425
You can also specify a start and end line for the blame:
2526

26-
$>git annotate -L 160,+10 sha1_file.c
27+
$>git blame -L 160,+10 sha1_file.c
2728
ace1534d (Junio C Hamano 2005-05-07 00:38:04 -0700 160)}
2829
ace1534d (Junio C Hamano 2005-05-07 00:38:04 -0700 161)
2930
0fcfd160 (Linus Torvalds 2005-04-18 13:04:43 -0700 162)/*

0 commit comments

Comments
 (0)