summaryrefslogtreecommitdiffstats
path: root/usage.c
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2022-09-05 20:50:06 +0200
committerJunio C Hamano <gitster@pobox.com>2022-09-07 21:06:12 +0200
commit1c7c25aef12918b9305df19142ab5755297274a6 (patch)
treeecda28fb384fb53c0499f56d38a1e28f33cfd03e /usage.c
parenttest-parse-options.c: fix style of comparison with zero (diff)
downloadgit-1c7c25aef12918b9305df19142ab5755297274a6.tar.xz
git-1c7c25aef12918b9305df19142ab5755297274a6.zip
notes: simplify default operation mode arguments check
'git notes' has a default operation mode, but when invoked without a subcommand it doesn't accept any arguments (although the 'list' subcommand implementing the default operation mode does accept arguments). The condition checking this ended up a bit awkward, so let's make it clearer. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'usage.c')
0 files changed, 0 insertions, 0 deletions