Browse Source
Check if we even have a parameter before checking its value. Running this command without any arguments may not make a lot of sense, but reacting with a segmentation fault is unduly harsh. While we're at it, avoid casting argv by declaring it const right away. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
René Scharfe
13 years ago
committed by
Junio C Hamano
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue