summaryrefslogtreecommitdiff
path: root/t/t3004-ls-files-basic.sh
AgeCommit message (Collapse)Author
2010-10-22ls-files -h: show usage even with corrupt indexNguyễn Thái Ngọc Duy
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>