diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-08-26 11:16:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-08-26 11:16:25 -0700 |
commit | a3d54f9a1fa481727a849b8753fc9d1abafe6583 (patch) | |
tree | 0b587d35e77310dd8fdcf6bb8990a525cd189710 /builtin | |
parent | Merge branch 'jk/fix-profile-feedback-build' (diff) | |
parent | pack-objects: turn off bitmaps when we see --shallow lines (diff) | |
download | tgif-a3d54f9a1fa481727a849b8753fc9d1abafe6583.tar.xz |
Merge branch 'jk/pack-shallow-always-without-bitmap'
Reachability bitmaps do not work with shallow operations.
Fixes regression in 2.0.
* jk/pack-shallow-always-without-bitmap:
pack-objects: turn off bitmaps when we see --shallow lines
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/pack-objects.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index 238b5021eb..b59f5d895e 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -2494,6 +2494,7 @@ static void get_object_list(int ac, const char **av) if (get_sha1_hex(line + 10, sha1)) die("not an SHA-1 '%s'", line + 10); register_shallow(sha1); + use_bitmap_index = 0; continue; } die("not a rev '%s'", line); |