summaryrefslogtreecommitdiff
path: root/src/refspec.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-04-28 16:26:55 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-04-28 18:49:51 +0200
commitd84884571d04d609ed5f3508aecd9e24b84f47c7 (patch)
treee0250fb1184a1e85eac83004d310ace7a6e4774c /src/refspec.h
parent528a4e24c6671d621847cf8e3121e3c56fe20d3b (diff)
downloadlibgit2-d84884571d04d609ed5f3508aecd9e24b84f47c7.tar.gz
remote: dwim the refspecs according to the remote's advertised refs
As git allows you to store shorthand refspecs in the configuration, we need to do this ourselves.
Diffstat (limited to 'src/refspec.h')
-rw-r--r--src/refspec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/refspec.h b/src/refspec.h
index 29f4d5354..44d484c7b 100644
--- a/src/refspec.h
+++ b/src/refspec.h
@@ -17,6 +17,7 @@ struct git_refspec {
unsigned int force :1,
push : 1,
pattern :1,
+ dwim :1,
matching :1;
};