diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2013-09-03 10:06:18 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-09-03 12:54:52 -0700 |
| commit | d8f7681337dd0c7944ba2293a72952110977077d (patch) | |
| tree | 163208bbf711f9748d924d7d7b54fee58963739e /commit.c | |
| parent | rev-parse test: modernize quoting and whitespace (diff) | |
| download | git-d8f7681337dd0c7944ba2293a72952110977077d.tar.gz git-d8f7681337dd0c7944ba2293a72952110977077d.zip | |
rev-parse test: use test_must_fail, not "if <command>; then false; fi"
This way, if rev-parse segfaults then the test will fail instead
of treating it the same way as a controlled failure.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
