You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the preparation for `safe.bareRepository` defaulting
to `explicit` (see 8d1a744), switch bare-repo calls from
`test_cmp_refs -C` to `test_cmp_refs --git-dir` in the t5411
proc-receive test files.
To make reviewing this commit easier, here is a command-line to undo the
transformation on the new lines; empty output is success:
git diff HEAD^! | awk '
/^diff/,/^\+\+\+/ { next }
/^-/ { old[m++] = substr($0,2) }
/^\+/ {
new = substr($0,2)
# undo: --git-dir -> -C
gsub(/test_cmp_refs --git-dir /, "test_cmp_refs -C ", new)
if (old[n++] != new) print old[n-1] " != " new
}'
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
0 commit comments