author | Tommi Kyntola <tommi.kyntola@ray.fi> | |
Fri, 16 Feb 2007 08:50:58 +0000 (10:50 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 17 Feb 2007 05:39:21 +0000 (21:39 -0800) | ||
commit | f44213258de3fbef932f9c655213202f69dccc80 | |
tree | 3b7a5142b1ec8fcd22531845921e6a4aaea73068 | tree | snapshot |
parent | de6f0def506935811384a39fb0660095f5555e68 | commit | diff |
git-blame: prevent argument parsing segfault
The 3rd branch in builtin-blame.c should also check for lacking
arguments. Running that in top dir does not trigger the problem
because the 'prefix' is NULL.
Signed-off-by: Tommi Kyntola <tommi.kyntola@ray.fi>
Signed-off-by: Junio C Hamano <junkio@cox.net>
The 3rd branch in builtin-blame.c should also check for lacking
arguments. Running that in top dir does not trigger the problem
because the 'prefix' is NULL.
Signed-off-by: Tommi Kyntola <tommi.kyntola@ray.fi>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-blame.c | diff | blob | history |