Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-10-29 02:30:45 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-11-02 01:48:09 +0400
commitaf613ecd445bf0abfda81769e7a2d763413dfd04 (patch)
tree47ef22398099818d12bf435bc540453a458b2ad2 /src/remote.h
parent968c7d072ae61852564a831706ca5e969a2eb62c (diff)
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.h1
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;