stagit
static git repository generator
git clone https://9o.is/git/stagit.git
commit f01207f16de70a8aabe061b67a8691dd01a8d3ab parent 963e11a88df7143c75ab28176a7a21afb4725d01 Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sat, 7 May 2016 13:52:42 +0200 fix error in "code cleanup" commit d736264ab6cd808cf48054d6a46a02b728b2a060 ... 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 *filename, git_off_t fi for (p = fpath, tmp[0] = '\0'; *p; p++) { if (*p == '/' && strlcat(tmp, "../", sizeof(tmp)) >= sizeof(tmp)) errx(1, "path truncated: '../%s'", tmp); - p++; } relpath = tmp;