diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-01-24 17:35:58 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-24 17:35:58 -0800 |
commit | 026680f881e751311674d97d0f6ed87f06a92bfb (patch) | |
tree | 770bcfc2a3746cd568fbe17fea2926f6da2c7fa8 /t/test-lib.sh | |
parent | eca9388f398eb3256fafbf875a8a4ff5a73ab6f2 (diff) | |
parent | ba655da537a999670c7b21e0446e774a1f9733ea (diff) | |
download | git-026680f881e751311674d97d0f6ed87f06a92bfb.tar.gz git-026680f881e751311674d97d0f6ed87f06a92bfb.tar.xz |
Merge branch 'jc/fix-tree-walk'
* jc/fix-tree-walk:
read-tree --debug-unpack
unpack-trees.c: look ahead in the index
unpack-trees.c: prepare for looking ahead in the index
Aggressive three-way merge: fix D/F case
traverse_trees(): handle D/F conflict case sanely
more D/F conflict tests
tests: move convenience regexp to match object names to test-lib.sh
Conflicts:
builtin-read-tree.c
unpack-trees.c
unpack-trees.h
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index c1476f9a2..baa409307 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -74,6 +74,12 @@ case $(echo $GIT_TRACE |tr "[A-Z]" "[a-z]") in ;; esac +# Convenience +# +# A regexp to match 5 and 40 hexdigits +_x05='[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f]' +_x40="$_x05$_x05$_x05$_x05$_x05$_x05$_x05$_x05" + # Each test should start with something like this, after copyright notices: # # test_description='Description of this test... |