Code

git-blame: prevent argument parsing segfault
authorTommi Kyntola <tommi.kyntola@ray.fi>
Fri, 16 Feb 2007 08:50:58 +0000 (10:50 +0200)
committerJunio C Hamano <junkio@cox.net>
Sat, 17 Feb 2007 05:39:21 +0000 (21:39 -0800)
commitf44213258de3fbef932f9c655213202f69dccc80
tree3b7a5142b1ec8fcd22531845921e6a4aaea73068
parentde6f0def506935811384a39fb0660095f5555e68
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>
builtin-blame.c