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 <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Denton Liu committed
Oct 7, 2020 at 23:44 UTC
d047154e7b2ab9c7191b0d72484012085051d521
1 file changed
+4
-4
contrib/git-resurrect.sh
+4
-4
@@ -27,7 +27,7 @@ n,dry-run don't recreate the branch"
27
28
search_reflog () {
29
sed -ne 's~^\([^ ]*\) .* checkout: moving from '"$1"' .*~\1~p' \
30
- < "$GIT_DIR"/logs/HEAD
30
+ < "$GIT_DIR"/logs/HEAD
31
}
32
33
search_reflog_merges () {
@@ -41,9 +41,9 @@ _x40="[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]"
41
_x40="$_x40$_x40$_x40$_x40$_x40$_x40$_x40$_x40"
42
43
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}"
47
}
48
49
search_merge_targets () {