aboutsummaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-06 00:11:59 -0700
committerJunio C Hamano <gitster@pobox.com>2010-09-06 00:11:59 -0700
commitaf24059fa299f1656692f5807eddd3b30b5f3cfb (patch)
treec5e12eb4c91edd04e9c8fea6408678c5660946e4 /object.c
parentdd34b6be8a3e869f3e0d62a13115f02d90cf4f80 (diff)
parentd2c030d4773f1f00165bffc34e2487043df326e7 (diff)
downloadgit-af24059fa299f1656692f5807eddd3b30b5f3cfb.tar.gz
git-af24059fa299f1656692f5807eddd3b30b5f3cfb.tar.xz
Merge branch 'xx/trivial' into maint
* xx/trivial: 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 277b3ddba..2eda53cc6 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)