diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-10-22 01:48:14 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-22 11:04:53 -0700 |
commit | cbb3167ef8b73109ed5c5e54aa1915d9c50f83d5 (patch) | |
tree | 6e2326d89c92982c0e3bd0ecfb609c5f1c9980e5 /builtin/mv.c | |
parent | gc -h: show usage even with broken configuration (diff) | |
download | tgif-cbb3167ef8b73109ed5c5e54aa1915d9c50f83d5.tar.xz |
ls-files -h: show usage even with corrupt index
Part of a campaign to avoid git <command> -h being distracted by
access to the repository. A caller hoping to use "git ls-files"
with an alternate index as part of a repair operation may well use
"git ls-files -h" to show usage while planning it out.
[jn: with rewritten log message and tests]
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 'builtin/mv.c')
0 files changed, 0 insertions, 0 deletions