Snippet #7


*** t7003-filter-branch.sh ***
ok 1 - setup
ok 2 - rewrite identically
ok 3 - result is really identical
ok 4 - rewrite bare repository identically
ok 5 - result is really identical
ok 6 - correct GIT_DIR while using -d
ok 7 - Fail if commit filter fails
ok 8 - rewrite, renaming a specific file
ok 9 - test that the file was renamed
ok 10 - rewrite, renaming a specific directory
ok 11 - test that the directory was renamed
ok 12 - rewrite one branch, keeping a side branch
ok 13 - common ancestor is still common (unchanged)
ok 14 - filter subdirectory only
ok 15 - subdirectory filter result looks okay
ok 16 - more setup
ok 17 - use index-filter to move into a subdirectory
ok 18 - stops when msg filter fails
ok 19 - author information is preserved
ok 20 - remove a certain author's commits
ok 21 - barf on invalid name
ok 22 - "map" works in commit filter
ok 23 - Name needing quotes
ok 24 - Subdirectory filter with disappearing trees
ok 25 - Tag name filtering retains tag message
ok 26 - Tag name filtering strips gpg signature
ok 27 - Tag name filtering allows slashes in tag names
ok 28 - Prune empty commits
ok 29 - --remap-to-ancestor with filename filters
not ok - 30 automatic remapping to ancestor with filename filters
#	
#		git checkout master &&
#		git reset --hard A &&
#		test_commit add-foo2 foo 1 &&
#		git branch moved-foo2 &&
#		test_commit add-bar2 bar a &&
#		git branch invariant2 &&
#		orig_invariant=$(git rev-parse invariant2) &&
#		git branch moved-bar2 &&
#		test_commit change-foo2 foo 2 &&
#		git filter-branch -f \
#			moved-foo2 moved-bar2 A..master \
#			-- -- foo &&
#		test $(git rev-parse moved-foo2) = $(git rev-parse moved-bar2) &&
#		test $(git rev-parse moved-foo2) = $(git rev-parse master^) &&
#		test $orig_invariant = $(git rev-parse invariant2)
#	
ok 31 - setup submodule
ok 32 - rewrite submodule with another content
ok 33 - replace submodule revision
# failed 1 among 33 test(s)
1..33
make[2]: *** [t7003-filter-branch.sh] Error 1
make[1]: *** [all] Error 2
make: *** [test] Error 2
← Snippet #639
Snippet #6 →

All snippets