diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-07-04 09:03:33 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-09-30 15:43:24 +0200 |
commit | c5837cad85c2730d30cd3c8b1018bd392ca8115a (patch) | |
tree | 52c0d3d9d80e213556020313a6409bffc6ede7a4 /src/graph.c | |
parent | 2cdd5c5752f1dea43cd31be9b75be7f7f5e4eab1 (diff) | |
download | libgit2-cmn/remote-fetch-refs.tar.gz |
remote: implement opportunistic remote-tracking branch updatescmn/remote-fetch-refs
When a list of refspecs is passed to fetch (what git would consider
refspec passed on the command-line), we not only need to perform the
updates described in that refspec, but also update the remote-tracking
branch of the fetched remote heads according to the remote's configured
refspecs.
These "fetches" are not however to be written to FETCH_HEAD as they
would be duplicate data, and it's not what the user asked for.
Diffstat (limited to 'src/graph.c')
0 files changed, 0 insertions, 0 deletions