Skip to content

Commit 108332c

Browse files
peffgitster
authored andcommitted
archive-tar: fix minor indentation violation
This looks like a simple omission from 8539070 (archive-tar: unindent write_tar_entry by one level, 2012-05-03). Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d270d7b commit 108332c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

archive-tar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ static int write_tar_entry(struct archiver_args *args,
233233
size_t rest = pathlen - plen - 1;
234234
if (plen > 0 && rest <= sizeof(header.name)) {
235235
memcpy(header.prefix, path, plen);
236-
memcpy(header.name, path + plen + 1, rest);
236+
memcpy(header.name, path + plen + 1, rest);
237237
} else {
238238
sprintf(header.name, "%s.data",
239239
sha1_to_hex(sha1));

0 commit comments

Comments
 (0)