diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-05-31 01:43:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-31 07:51:01 -0700 |
commit | b25ec8b8d58e73c4327b0fcc9298e7ef6fe8e7a7 (patch) | |
tree | a06344fffd7c4bffc57ef63a5f83bd22d6877545 /commit.c | |
parent | 4674ab682dc1a875fd29de8f4e9568196a88b97b (diff) |
t1517: more coverage for commands that work without repository
While most of the commands in Git suite are designed to do useful
things in Git repositories, some commands are also usable outside
any repository. Building on top of an earlier work abece6e9 (t1517:
test commands that are designed to be run outside repository,
2024-05-20) that adds tests for such commands, let's give coverage
to some more commands.
This patch covers commands whose code has hits for
$ git grep setup_git_directory_gently
and passes a pointer to nongit_ok variable it uses to allow it to
run outside a Git repository, but mostly they are tested only to see
that they start up (as opposed to dying with "not in a git
repository" complaint). We may want to update them to actually do
something useful later, but this would at least help us catch
regressions by mistake.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions