Skip to content

Commit d047154

Browse files
Denton-Lgitster
authored andcommitted
contrib/git-resurrect.sh: indent with tabs
In the git-resurrect script, there are a few lines that are mistakenly indented with spaces. Replace these lines with tabs. Signed-off-by: Denton Liu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d98273b commit d047154

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

contrib/git-resurrect.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ n,dry-run don't recreate the branch"
2727

2828
search_reflog () {
2929
sed -ne 's~^\([^ ]*\) .* checkout: moving from '"$1"' .*~\1~p' \
30-
< "$GIT_DIR"/logs/HEAD
30+
< "$GIT_DIR"/logs/HEAD
3131
}
3232

3333
search_reflog_merges () {
@@ -41,9 +41,9 @@ _x40="[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]"
4141
_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
4242

4343
search_merges () {
44-
git rev-list --all --grep="Merge branch '$1'" \
45-
--pretty=tformat:"%P %s" |
46-
sed -ne "/^$_x40 \($_x40\) Merge .*/ {s//\1/p;$early_exit}"
44+
git rev-list --all --grep="Merge branch '$1'" \
45+
--pretty=tformat:"%P %s" |
46+
sed -ne "/^$_x40 \($_x40\) Merge .*/ {s//\1/p;$early_exit}"
4747
}
4848

4949
search_merge_targets () {

0 commit comments

Comments
 (0)