diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-03-08 00:12:33 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-08 00:24:21 -0800 |
commit | 5ad6b0252b4fff02ac8516b2ea5e3e7330dcc76f (patch) | |
tree | b230fb2d94d62b157fd5b2d5394d17578d8a8a8f /cache.h | |
parent | abd2bde78bd994166900290434a2048e660dabed (diff) | |
parent | 8321c56b6bae25a2d70790f452df894be536b32c (diff) | |
download | git-5ad6b0252b4fff02ac8516b2ea5e3e7330dcc76f.tar.gz |
Adjust js/remote-improvements and db/refspec-wildcard-in-the-middle
The latter topic changes the definition of how refspec's src and dst side
is stored in-core; it used to be that the asterisk for pattern was
omitted, but now it is included. The former topic handcrafts an old style
refspec to feed the refspec matching machinery that lacks the asterisk and
triggers an error.
This resolves the semantic clash between the two topics early before they
need to be merged to integration branches.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -801,7 +801,7 @@ struct ref { #define REF_HEADS (1u << 1) #define REF_TAGS (1u << 2) -extern struct ref *find_ref_by_name(struct ref *list, const char *name); +extern struct ref *find_ref_by_name(const struct ref *list, const char *name); #define CONNECT_VERBOSE (1u << 0) extern struct child_process *git_connect(int fd[2], const char *url, const char *prog, int flags); |