diff options
author | Jeff King <peff@peff.net> | 2018-06-11 04:35:40 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-11 10:56:04 -0700 |
commit | 431acd2de89ad5ec0a3e6ae6141e699c4a824ae1 (patch) | |
tree | 1399391ccb59a8cc11a142dc0461b5d394d42203 /url.h | |
parent | fsck: complain when .gitmodules is a symlink (diff) | |
download | tgif-431acd2de89ad5ec0a3e6ae6141e699c4a824ae1.tar.xz |
t7415: don't bother creating commit for symlink test
Early versions of the fsck .gitmodules detection code
actually required a tree to be at the root of a commit for
it to be checked for .gitmodules. What we ended up with in
159e7b080b (fsck: detect gitmodules files, 2018-05-02),
though, finds a .gitmodules file in _any_ tree (see that
commit for more discussion).
As a result, there's no need to create a commit in our
tests. Let's drop it in the name of simplicity. And since
that was the only thing referencing $tree, we can pull our
tree creation out of a command substitution.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.h')
0 files changed, 0 insertions, 0 deletions