diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2008-02-18 23:41:41 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-19 01:04:32 -0800 |
commit | 2d31347ba5c56d43d64dfdfe04a924178ee55b75 (patch) | |
tree | 1f043fc81a9bc3342225a8f9d35107ca093a99fd /remote.h | |
parent | cf5c51efc9fe3b0ef93c7b78005c57b71acaf959 (diff) | |
download | git-2d31347ba5c56d43d64dfdfe04a924178ee55b75.tar.gz |
Use ALLOC_GROW in remote.{c,h}
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,14 +6,17 @@ struct remote { const char **url; int url_nr; + int url_alloc; const char **push_refspec; struct refspec *push; int push_refspec_nr; + int push_refspec_alloc; const char **fetch_refspec; struct refspec *fetch; int fetch_refspec_nr; + int fetch_refspec_alloc; /* * -1 to never fetch tags @@ -100,6 +103,7 @@ struct branch { const char **merge_name; struct refspec **merge; int merge_nr; + int merge_alloc; }; struct branch *branch_get(const char *name); |