We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93a96cc + fba275d commit 3c833caCopy full SHA for 3c833ca
1 file changed
contrib/git-resurrect.sh
@@ -26,13 +26,13 @@ n,dry-run don't recreate the branch"
26
. git-sh-setup
27
28
search_reflog () {
29
- sed -ne 's~^\([^ ]*\) .*\tcheckout: moving from '"$1"' .*~\1~p' \
+ sed -ne 's~^\([^ ]*\) .* checkout: moving from '"$1"' .*~\1~p' \
30
< "$GIT_DIR"/logs/HEAD
31
}
32
33
search_reflog_merges () {
34
git rev-parse $(
35
- sed -ne 's~^[^ ]* \([^ ]*\) .*\tmerge '"$1"':.*~\1^2~p' \
+ sed -ne 's~^[^ ]* \([^ ]*\) .* merge '"$1"':.*~\1^2~p' \
36
37
)
38
0 commit comments