diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-11-10 21:43:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-11 14:19:29 -0800 |
commit | 89cf4c7004ec329c3171448a154d050c8f75874e (patch) | |
tree | 47290d1ea4edf2091b76c7c3d1a36e9fe6abf60b /remote.h | |
parent | bf98421a3363696f3b4c8aedc242bfaadc1ce6f6 (diff) | |
download | git-89cf4c7004ec329c3171448a154d050c8f75874e.tar.gz |
remote: add a new 'origin' variable to the struct
This allows one to track where was the remote's original source, so that
it's possible to decide if it makes sense to migrate it to the config
format or not.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,8 +1,15 @@ #ifndef REMOTE_H #define REMOTE_H +enum { + REMOTE_CONFIG, + REMOTE_REMOTES, + REMOTE_BRANCHES +}; + struct remote { const char *name; + int origin; const char **url; int url_nr; |