diff options
author | Brian Gernhardt <brian@gernhardtsoftware.com> | 2010-09-10 18:06:36 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-13 10:59:06 -0700 |
commit | 77f2e4f5f3e448794fd4fa80e898e4388042fabb (patch) | |
tree | f992b3d7b006796719f792158117d76e6b941b7f /t/t2101-update-index-reupdate.sh | |
parent | Merge branch 'maint' (diff) | |
download | tgif-77f2e4f5f3e448794fd4fa80e898e4388042fabb.tar.xz |
t7003: Use test_commit instead of custom function
t7003-filter-branch.sh had a make_commit() function that was identical
to test_commit() in test-lib.sh except that it used tr to create a
lowercase file name from the uppercase branch name instead of
appending ".t".
Not only is this unneeded code duplication, it also was something
simply waiting to fail on case-insensitive file systems. So replace
all uses of make_commit with test_commit.
While we're editing the setup, chain it together with && so that
failures early in the sequence don't get lost and add a commit graph.
Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2101-update-index-reupdate.sh')
0 files changed, 0 insertions, 0 deletions