summaryrefslogtreecommitdiff
path: root/revision.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-02-23 02:56:31 +0100
committerJunio C Hamano <junkio@cox.net>2007-02-22 22:30:33 -0800
commit3d1efd8f1ddc0de423426b5a2a8c6c0a30f1d46e (patch)
treeca49131456371a0ae52299fc1f1286d2988d5d2c /revision.c
parentfb9a54150d308345a7027baae528b8fe90bd41f7 (diff)
downloadgit-3d1efd8f1ddc0de423426b5a2a8c6c0a30f1d46e.tar.gz
git-bundle: fix 'create --all'
Diffstat (limited to 'revision.c')
-rw-r--r--revision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c
index 15bdaf6095..c1bf5ea035 100644
--- a/revision.c
+++ b/revision.c
@@ -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;
}