Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep -O: Do not pass color sequences as filenames to pager
[gitweb.git]
/
builtin
/
receive-pack.c
diff --git
a/builtin/receive-pack.c
b/builtin/receive-pack.c
index 8b5a4656ec6143436e1f1a6f1d589b1ee6d73001..5170abf2a02d915238bfb5a01e7a1223cdefb642 100644
(file)
--- a/
builtin/receive-pack.c
+++ b/
builtin/receive-pack.c
@@
-534,7
+534,7
@@
static void check_aliased_updates(struct command *commands)
for (cmd = commands; cmd; cmd = cmd->next) {
struct string_list_item *item =
- string_list_append(
cmd->ref_name, &ref_list
);
+ string_list_append(
&ref_list, cmd->ref_name
);
item->util = (void *)cmd;
}
sort_string_list(&ref_list);