aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit-tree.c
diff options
context:
space:
mode:
authorEric Sunshine <sunshine@sunshineco.com>2022-11-21 03:00:20 +0000
committerJunio C Hamano <gitster@pobox.com>2022-12-09 10:41:58 +0900
commitce153b8d4d5be93d0960a143d08dcffd55694b0e (patch)
tree322ab87808fefb8cce56a85cab663c9bf8077140 /builtin/commit-tree.c
parentt1509: fix failing "root work tree" test due to owner-check (diff)
downloadgit-ce153b8d4d5be93d0960a143d08dcffd55694b0e.tar.gz
git-ce153b8d4d5be93d0960a143d08dcffd55694b0e.zip
t1509: make "setup" test more robust
One of the t1509 setup tests is very particular about the output it expects from `git init`, and fails if the output differs even slightly which can happen easily if the script is run multiple times since it doesn't do a good job of cleaning up after itself (i.e. it leaves detritus in the root directory `/`). One bit of cruft in particular (`/HEAD`) makes the test fail since its presence causes `git init` to alter its output; rather than reporting "Initialized empty Git repository", it instead reports "Reinitialized existing Git repository" when `/HEAD` is present. Address this problem by making the test do a more careful job of crafting its intended initial state. Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Diffstat (limited to 'builtin/commit-tree.c')
0 files changed, 0 insertions, 0 deletions