Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http: respect protocol.*.allow=user for http-alternates
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index fc3d6fb2c372a7f668ed41c94a9abb8e4ebd18ee..5f616b720106aaf2682fdaca8f6c955232c2dd59 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-1580,9
+1580,8
@@
void set_merge_remote_desc(struct commit *commit,
const char *name, struct object *obj)
{
struct merge_remote_desc *desc;
-
desc = xmalloc(sizeof(*desc)
);
+
FLEX_ALLOC_STR(desc, name, name
);
desc->obj = obj;
- desc->name = xstrdup(name);
commit->util = desc;
}