Code

git-bundle: fix 'create --all'
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 23 Feb 2007 01:56:31 +0000 (02:56 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Feb 2007 06:30:33 +0000 (22:30 -0800)
revision.c

index 15bdaf6095ccbe690c664f80a5b25e354d068d61..c1bf5ea035e049caef67ddf6296b138d68a83184 100644 (file)
@@ -480,7 +480,7 @@ static int handle_one_ref(const char *path, const unsigned char *sha1, int flag,
        struct all_refs_cb *cb = cb_data;
        struct object *object = get_reference(cb->all_revs, path, sha1,
                                              cb->all_flags);
-       add_pending_object(cb->all_revs, object, "");
+       add_pending_object(cb->all_revs, object, path);
        return 0;
 }