mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user