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 `test_config -C <bare>` to
`test_config --git-dir <bare>` so the config helper accesses bare repos
without implicit discovery.
For your convenience, here is an awk command-line to verify this commit:
It mechanically undoes 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_config --git-dir /, "test_config -C ", new)
if (old[n++] != new) print old[n-1] " != " new
}'
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
0 commit comments