summaryrefslogtreecommitdiff
path: root/test.sh
AgeCommit message (Collapse)AuthorFilesLines
2009-08-26Fix behaviour if you have a branch named the same as your --prefixLibravatar Avery Pennarun1-0/+1
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-12sort assertion to make it more genericLibravatar Amiel Martin1-1/+1
2009-08-12fixed order of assertion in testsLibravatar Amiel Martin1-1/+1
2009-04-26test.sh: oops, never intended to count the raw number of commits.Libravatar Avery Pennarun1-4/+3
Just needed to make sure the count was non-zero.
2009-04-26test.sh: make sure no commit changes more than one file at a time.Libravatar Avery Pennarun1-0/+34
2009-04-26Trim some extra merge commits that don't need to go into the split tree.Libravatar Avery Pennarun1-15/+22
...and update test.sh to test for this.
2009-04-26test.sh tweakLibravatar Avery Pennarun1-1/+4
2009-04-26Add some basic assertions to test.sh.Libravatar Avery Pennarun1-1/+72
2009-04-26Add a 'create' helper function in test.sh.Libravatar Avery Pennarun1-15/+5
2009-04-26Add --annotate option, and create recognizable file content during tests.Libravatar Avery Pennarun1-30/+37
2009-04-25Change test.sh to test the new add, merge, and pull commands.Libravatar Avery Pennarun1-8/+4
2009-04-24Pass the path using the --prefix option instead of on the command line.Libravatar Avery Pennarun1-3/+3
I like this better. It's more like git-read-tree and some other commands.
2009-04-24Okay, that was a little too aggressive.Libravatar Avery Pennarun1-1/+4
Now we only prune out a commit if it has exactly one remaining parent and that parent's tree is identical to ours. But I also changed the test to create the initial "-s ours" merge in one step instead of two, and that merge can be eliminated since one of its parents doesn't affect the subdir at all, and is thus deleted.
2009-04-24Even more aggressive commit trimming.Libravatar Avery Pennarun1-1/+1
Now we cut out a commit if any of its parents had the same tree; just use that parent in its place. This makes the history look nice, but I don't think it's quite right...
2009-04-24Quick test script for generating reasonably complex merge scenarios.Libravatar Avery Pennarun1-0/+96