Commit Graph

13 Commits

Author SHA1 Message Date
Avery Pennarun
6f2012cdc0 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.
2009-10-02 16:08:58 -04:00
Avery Pennarun
227f781147 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.
2009-08-26 10:45:13 -04:00
Avery Pennarun
ef7596677c todo: idea for a 'git subtree grafts' command 2009-08-02 17:48:41 -04:00
Avery Pennarun
0af6aa4675 todo 2009-08-01 01:19:48 -04:00
Avery Pennarun
344f58abe5 todo^ 2009-07-16 14:31:50 -04:00
Avery Pennarun
5d1a5da411 todo 2009-07-10 15:14:33 -04:00
Avery Pennarun
76a7356f56 todo 2009-07-07 17:41:38 -04:00
Avery Pennarun
6aa76263ee Some todo items reported by pmccurdy 2009-07-02 12:39:48 -04:00
Avery Pennarun
c8a98d4f87 update todo 2009-06-15 14:12:40 -04:00
Avery Pennarun
d713e2d87a Make --squash work with the 'add' command too. 2009-05-30 04:13:47 -04:00
Avery Pennarun
43a3951243 New --branch option to split command.
This is just a handy way to create a new branch from the newly-split subtree.
2009-05-30 01:12:32 -04:00
Avery Pennarun
7b7ba4bb37 More to-do items based on feedback 2009-05-24 15:29:25 -04:00
Avery Pennarun
8c384754d8 todo list 2009-04-26 08:53:14 -04:00