garbash-stagit

garbash fork of stagit for git hosting with subdirs
git clone git://git.alexkarle.com.com/garbash-stagit
Log | Files | Refs | README | LICENSE

commit 9693d1d1a965006c14d43a8e73aa9cc4f512e75f (patch)
parent 4f56d5dec6c8fa5aabcac0154235fedeebe1f186
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);