diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-28 23:30:45 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-11-01 22:48:09 +0100 |
commit | af613ecd445bf0abfda81769e7a2d763413dfd04 (patch) | |
tree | 47ef22398099818d12bf435bc540453a458b2ad2 /src/remote.h | |
parent | 968c7d072ae61852564a831706ca5e969a2eb62c (diff) | |
download | libgit2-af613ecd445bf0abfda81769e7a2d763413dfd04.tar.gz |
remote: store dwimed refspecs separately
This allows us to add e.g. "HEAD" as a refspec when none are given
without overwriting the user's data.
Diffstat (limited to 'src/remote.h')
-rw-r--r-- | src/remote.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/remote.h b/src/remote.h index 269584d96..33e4d68f8 100644 --- a/src/remote.h +++ b/src/remote.h @@ -21,6 +21,7 @@ struct git_remote { char *pushurl; git_vector refs; git_vector refspecs; + git_vector active_refspecs; git_transport *transport; git_repository *repo; git_remote_callbacks callbacks; |