diff options
| author | Avery Pennarun <apenwarr@gmail.com> | 2009-08-26 10:43:43 -0400 |
|---|---|---|
| committer | Avery Pennarun <apenwarr@gmail.com> | 2009-08-26 10:45:13 -0400 |
| commit | 227f78114752eee2e8ae3368089716d73d32dd8b (patch) | |
| tree | 7a0c0f254453c72bc08e1074be0dae8aac20a2e4 /git-commit-script | |
| parent | 33aaa697a2386a02002f9fb8439d11243f12e1c7 (diff) | |
Fix behaviour if you have a branch named the same as your --prefix
We were trying to 'git checkout $prefix', which is ambiguous if $prefix
names a directory *and* a branch. Do 'git checkout -- $prefix' instead.
The main place this appeared was in 'git subtree add'.
Reported by several people.
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions
