git-query

git data extraction tool using c and libgit2

git clone https://9o.is/git/git-query.git

commit e697e64e8e491a4da9bb1861739d7cf8abda91d5
parent bcadd93903023270285ccd9db82763c9f6fd521c
Author: z3bra <willyatmailoodotorg>
Date:   Mon, 18 Jan 2016 10:31:36 +0000

use 'dirname' as error message for xdirname

Diffstat:
Mstagit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stagit.c b/stagit.c @@ -154,7 +154,7 @@ xdirname(const char *path) if (!(p = strdup(path))) err(1, "strdup"); if (!(b = dirname(p))) - err(1, "basename"); + err(1, "dirname"); if (!(b = strdup(b))) err(1, "strdup"); free(p);