stagit

fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03

... the loop was simplified, but forgot to remove p++ (double used) while
rebasing the change.

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 4f0ca06 parent: 61d76f3
1 files changed, 0 insertions(+), 1 deletions(-)
Mstagit.c+0-1
M · stagit.c +0, -1
1@@ -722,7 +722,6 @@ writeblob(git_object *obj, const char *fpath, const char *filename, git_off_t fi
2 	for (p = fpath, tmp[0] = '\0'; *p; p++) {
3 		if (*p == '/' && strlcat(tmp, "../", sizeof(tmp)) >= sizeof(tmp))
4 			errx(1, "path truncated: '../%s'", tmp);
5-		p++;
6 	}
7 	relpath = tmp;
8