Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-06 11:12:04 +0400
committerJunio C Hamano <gitster@pobox.com>2010-09-06 11:12:04 +0400
commit4682693e9ccc04252d0fad6f5627fc056abcdbba (patch)
treecfd7ed7e969a2f461d24a111187613cb9ba87f9a /object.c
parent02377cf4bc6050cdbf600ce65114a5438b049763 (diff)
parentaf24059fa299f1656692f5807eddd3b30b5f3cfb (diff)
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 7adfda75f2..7e1f2bbed2 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)