diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-02 19:31:51 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-02 19:31:51 (GMT) |
commit | cbcf61990f09ccaf7560832274fa39b24d09d12e (patch) | |
tree | 689c57b06a5a01a50e1d477e0c898385802a0dbc /transport-helper.c | |
parent | 082f7b0f791ba1a036337510c55a3438a94376ce (diff) | |
parent | fba732c462107a6e8a92577cae1d64a8cc149879 (diff) | |
download | git-cbcf61990f09ccaf7560832274fa39b24d09d12e.zip git-cbcf61990f09ccaf7560832274fa39b24d09d12e.tar.gz git-cbcf61990f09ccaf7560832274fa39b24d09d12e.tar.bz2 |
Merge branch 'jk/fetch-auto-tag-following-fix'
Fetching via protocol v0 over Smart HTTP transport sometimes failed
to correctly auto-follow tags.
* jk/fetch-auto-tag-following-fix:
transport-helper: re-examine object dir after fetching
Diffstat (limited to 'transport-helper.c')
-rw-r--r-- | transport-helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/transport-helper.c b/transport-helper.c index 6764463..dd6002b 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -17,6 +17,7 @@ #include "refspec.h" #include "transport-internal.h" #include "protocol.h" +#include "packfile.h" static int debug; @@ -432,6 +433,8 @@ static int fetch_with_fetch(struct transport *transport, warning(_("%s unexpectedly said: '%s'"), data->name, buf.buf); } strbuf_release(&buf); + + reprepare_packed_git(the_repository); return 0; } |