Commit 7a640c0
committed
t2400: pass through args in
Preparing for `safe.bareRepository` defaulting to `explicit` (see
8d1a744), change the `post_checkout_hook` helper from hard-coding
`test_hook -C "$1"` to forwarding all arguments via `test_hook "$@"`, so
callers can pass `--git-dir <dir>` for bare repos.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>post_checkout_hook for --git-dir
1 parent 70ab969 commit 7a640c0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1068 | 1068 | | |
1069 | 1069 | | |
1070 | 1070 | | |
1071 | | - | |
| 1071 | + | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
1127 | | - | |
| 1127 | + | |
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
| |||
0 commit comments