@@ -31,7 +31,7 @@ test_expect_success setup '
31
31
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
32
32
git rev-parse X >expect &&
33
33
test_cmp expect actual
34
- '
34
+ '
35
35
36
36
# Ignore X, make sure A is blamed for line 1 and B for line 2.
37
37
test_expect_success ignore_rev_changing_lines '
@@ -44,7 +44,7 @@ test_expect_success ignore_rev_changing_lines '
44
44
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
45
45
git rev-parse B >expect &&
46
46
test_cmp expect actual
47
- '
47
+ '
48
48
49
49
# For ignored revs that have added 'unblamable' lines, attribute those to the
50
50
# ignored commit.
@@ -67,7 +67,7 @@ test_expect_success ignore_rev_adding_unblamable_lines '
67
67
68
68
grep -E "^[0-9a-f]+ [0-9]+ 4" blame_raw | sed -e "s/ .*//" >actual &&
69
69
test_cmp expect actual
70
- '
70
+ '
71
71
72
72
# Ignore X and Y, both in separate files. Lines 1 == A, 2 == B.
73
73
test_expect_success ignore_revs_from_files '
@@ -82,7 +82,7 @@ test_expect_success ignore_revs_from_files '
82
82
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
83
83
git rev-parse B >expect &&
84
84
test_cmp expect actual
85
- '
85
+ '
86
86
87
87
# Ignore X from the config option, Y from a file.
88
88
test_expect_success ignore_revs_from_configs_and_files '
@@ -96,7 +96,7 @@ test_expect_success ignore_revs_from_configs_and_files '
96
96
grep -E "^[0-9a-f]+ [0-9]+ 2" blame_raw | sed -e "s/ .*//" >actual &&
97
97
git rev-parse B >expect &&
98
98
test_cmp expect actual
99
- '
99
+ '
100
100
101
101
# Override blame.ignoreRevsFile (ignore_x) with an empty string. X should be
102
102
# blamed now for lines 1 and 2, since we are no longer ignoring X.
@@ -120,7 +120,7 @@ test_expect_success bad_files_and_revs '
120
120
echo NOREV >ignore_norev &&
121
121
test_must_fail git blame file --ignore-revs-file ignore_norev 2>err &&
122
122
test_i18ngrep "invalid object name: NOREV" err
123
- '
123
+ '
124
124
125
125
# For ignored revs that have added 'unblamable' lines, mark those lines with a
126
126
# '*'
@@ -138,7 +138,7 @@ test_expect_success mark_unblamable_lines '
138
138
139
139
sed -n "4p" blame_raw | cut -c1 >actual &&
140
140
test_cmp expect actual
141
- '
141
+ '
142
142
143
143
# Commit Z will touch the first two lines. Y touched all four.
144
144
# A--B--X--Y--Z
@@ -171,7 +171,7 @@ test_expect_success mark_ignored_lines '
171
171
172
172
sed -n "4p" blame_raw | cut -c1 >actual &&
173
173
! test_cmp expect actual
174
- '
174
+ '
175
175
176
176
# For ignored revs that added 'unblamable' lines and more recent commits changed
177
177
# the blamable lines, mark the unblamable lines with a
@@ -190,7 +190,7 @@ test_expect_success mark_unblamable_lines_intermediate '
190
190
191
191
sed -n "4p" blame_raw | cut -c1 >actual &&
192
192
test_cmp expect actual
193
- '
193
+ '
194
194
195
195
# The heuristic called by guess_line_blames() tries to find the size of a
196
196
# blame_entry 'e' in the parent's address space. Those calculations need to
@@ -227,7 +227,7 @@ test_expect_success ignored_chunk_negative_parent_size '
227
227
git tag C &&
228
228
229
229
git blame file --ignore-rev B >blame_raw
230
- '
230
+ '
231
231
232
232
# Resetting the repo and creating:
233
233
#
@@ -269,6 +269,6 @@ test_expect_success ignore_merge '
269
269
grep -E "^[0-9a-f]+ [0-9]+ 9" blame_raw | sed -e "s/ .*//" >actual &&
270
270
git rev-parse C >expect &&
271
271
test_cmp expect actual
272
- '
272
+ '
273
273
274
274
test_done
0 commit comments