If someone provides a --prefix that ends with slash, strip the slash.

Prefixes that differ only in the trailing slash should be considered
identical.

Also update the test to check that this works.
This commit is contained in:
Avery Pennarun
2009-10-02 15:22:15 -04:00
parent 39ee6ecf7e
commit 6f2012cdc0
3 changed files with 5 additions and 9 deletions

4
todo
View File

@@ -36,10 +36,6 @@
one of the other git tools that git-subtree calls. Should
detect this situation and print the *real* problem.
In fact, the prefix should *not* end with slash, and we
should detect (and fix) it if it does. Otherwise the
log message looks weird.
"pull --squash" should do fetch-synthesize-merge, but instead just
does "pull" directly, which doesn't work at all.