summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-06 07:12:04 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-09-06 07:12:04 (GMT)
commit4682693e9ccc04252d0fad6f5627fc056abcdbba (patch)
treecfd7ed7e969a2f461d24a111187613cb9ba87f9a /object.c
parent02377cf4bc6050cdbf600ce65114a5438b049763 (diff)
parentaf24059fa299f1656692f5807eddd3b30b5f3cfb (diff)
downloadgit-4682693e9ccc04252d0fad6f5627fc056abcdbba.zip
git-4682693e9ccc04252d0fad6f5627fc056abcdbba.tar.gz
git-4682693e9ccc04252d0fad6f5627fc056abcdbba.tar.bz2
Merge branch 'maint'v1.7.3-rc0
* maint: tag.c: whitespace breakages fix Fix whitespace issue in object.c t5505: add missing &&
Diffstat (limited to 'object.c')
-rw-r--r--object.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/object.c b/object.c
index 7adfda7..7e1f2bb 100644
--- a/object.c
+++ b/object.c
@@ -211,10 +211,10 @@ struct object_list *object_list_insert(struct object *item,
struct object_list **list_p)
{
struct object_list *new_list = xmalloc(sizeof(struct object_list));
- new_list->item = item;
- new_list->next = *list_p;
- *list_p = new_list;
- return new_list;
+ new_list->item = item;
+ new_list->next = *list_p;
+ *list_p = new_list;
+ return new_list;
}
int object_list_contains(struct object_list *list, struct object *obj)