Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/pack-bitmap' into maint
[gitweb.git]
/
walker.c
diff --git
a/walker.c
b/walker.c
index f149371e71ebdcdbd12336aace15b0fc20f74569..483da4e0fb5771b8a64d62648624258dcf3fdcb0 100644
(file)
--- a/
walker.c
+++ b/
walker.c
@@
-232,7
+232,7
@@
int walker_targets_stdin(char ***target, const char ***write_ref)
REALLOC_ARRAY(*write_ref, targets_alloc);
}
(*target)[targets] = xstrdup(tg_one);
- (*write_ref)[targets] =
rf_one ? xstrdup(rf_one) : NULL
;
+ (*write_ref)[targets] =
xstrdup_or_null(rf_one)
;
targets++;
}
strbuf_release(&buf);