summaryrefslogtreecommitdiff
path: root/xdiff/xmacros.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-10-22 01:45:47 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-10-22 11:04:52 -0700
commit5d3dd915e64ea42ba6bf7646937784f6ddc71422 (patch)
tree62812efcb9a7052ca9151aa038dda376b702b0f4 /xdiff/xmacros.h
parentcheckout-index -h: show usage even in an invalid repository (diff)
downloadtgif-5d3dd915e64ea42ba6bf7646937784f6ddc71422.tar.xz
commit/status -h: show usage even with broken configuration
"git status" and "git commit" read .git/config and .gitmodules before parsing options, but there is no reason to access a repository at all when the caller just wanted to know what arguments are accepted. [jn: rewrote the log message and added test] Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xmacros.h')
0 files changed, 0 insertions, 0 deletions