Introduction
Introduction Statistics Contact Development Disclaimer Help
fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03 - s…
git clone git://git.codemadness.org/stagit
Log
Files
Refs
README
LICENSE
---
commit f63edd593dfcaa84b30958d845fa85eaffc664b0
parent 6e5e218b697ffb8ff1819cbc3b8783f9a7270de2
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 7 May 2016 13:52:42 +0200
fix error in "code cleanup" commit 9328d2690e118127bcaa5cf9f665d8e7711f7a03
... the loop was simplified, but forgot to remove p++ (double used) while
rebasing the change.
Diffstat:
M stagit.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
diff --git a/stagit.c b/stagit.c
@@ -722,7 +722,6 @@ writeblob(git_object *obj, const char *fpath, const char *f…
for (p = fpath, tmp[0] = '\0'; *p; p++) {
if (*p == '/' && strlcat(tmp, "../", sizeof(tmp)) >= sizeof(tm…
errx(1, "path truncated: '../%s'", tmp);
- p++;
}
relpath = tmp;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.