summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2013-05-20 11:58:24 +0200
committerJunio C Hamano <gitster@pobox.com>2013-05-20 15:31:10 -0700
commitc420df7b9bbfcf352a3602c78e8476f18098bb43 (patch)
tree0bcd6377e9ef3bab214cc8d03625190ded7dde4d /commit.c
parent5dbe064d8cf37142f8c76f73ae0866286a8fb018 (diff)
downloadgit-c420df7b9bbfcf352a3602c78e8476f18098bb43.tar.gz
t5000: integrate export-subst tests into regular tests
Instead of creating extra archives for testing substitutions, set the attribute export-subst and overwrite the marked file with the expected (expanded) content right between committing and archiving. Thus placeholder expansion based on the committed content is performed with each archive creation and the comparison with the contents of directory a yields the correct result. We can then remove the special tests for export-subst. Signed-off-by: René Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions