summaryrefslogtreecommitdiff
path: root/builtin-write-tree.c
diff options
context:
space:
mode:
authorGreg Price <price@ksplice.com>2009-12-29 21:54:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-12-30 04:15:41 (GMT)
commite97ca7f41f2b9bbdfc93d103c3f64337bb6dcc20 (patch)
tree2a4b98c76ff900beeb3d5ac65265a99e5abc9ec6 /builtin-write-tree.c
parent153bb839aa0c36bf5c056a0b74b6d4d2fe99c157 (diff)
downloadgit-e97ca7f41f2b9bbdfc93d103c3f64337bb6dcc20.zip
git-e97ca7f41f2b9bbdfc93d103c3f64337bb6dcc20.tar.gz
git-e97ca7f41f2b9bbdfc93d103c3f64337bb6dcc20.tar.bz2
commit: --cleanup is a message option
In the usage message for "git commit", the --cleanup option appeared at the end, as one of the "contents options": usage: git commit [options] [--] <filepattern>... ... Commit message options ... Commit contents options ... --allow-empty ok to record an empty change --cleanup <default> how to strip spaces and #comments from message This is confusing, in part because it makes it ambiguous whether --allow-empty, just above, refers to an empty diff or an empty message. Move --cleanup into the 'message options' group. Also add a pair of comments to prevent similar oversights in the future. Signed-off-by: Greg Price <price@ksplice.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-write-tree.c')
0 files changed, 0 insertions, 0 deletions