merge -h: show usage even with corrupt index
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Fri, 22 Oct 2010 06:49:45 +0000 (01:49 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 22 Oct 2010 18:04:53 +0000 (11:04 -0700)
commitda53eec68873e76c68086e405f3f1329d47055b3
tree750c54e71333132ec43e222f0bd202ee7b855b61
parentcbb3167ef8b73109ed5c5e54aa1915d9c50f83d5
merge -h: show usage even with corrupt index

Part of a campaign to make sure "git <command> -h" works correctly
when run from distractingly bad repositories.

[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>
builtin/merge.c
t/t7600-merge.sh