author | Alberto Bertogli <albertito@gmail.com> | |
Mon, 14 Apr 2008 15:30:27 +0000 (12:30 -0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 16 Apr 2008 05:42:08 +0000 (22:42 -0700) | ||
commit | 1da16439bece6b90e1ce033bc50c5316f2c5dac2 | |
tree | e0723c9ebcc467c07219a7ae92db6e5132357128 | tree | snapshot |
parent | 2c2d02a6a72ce690df9dafea5e76bd4395d16927 | commit | diff |
builtin-apply: Show a more descriptive error on failure when opening a patch
When a patch can't be opened (it doesn't exist, there are permission
problems, etc.) we get the usage text, which is not a proper indication of
failure.
Signed-off-by: Alberto Bertogli <albertito@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When a patch can't be opened (it doesn't exist, there are permission
problems, etc.) we get the usage text, which is not a proper indication of
failure.
Signed-off-by: Alberto Bertogli <albertito@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-apply.c | diff | blob | history |