aboutsummaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-11-12 22:00:25 -0800
committerJunio C Hamano <gitster@pobox.com>2008-11-12 22:00:25 -0800
commita5b2d4ac24ef18cf8c628e258bef8a20d9bf4b2b (patch)
tree01b2cd87612e8dab1a3208627d8b3dd03ba4a599 /remote.h
parent902a4a252a05c492824be693d5ed1888961756f9 (diff)
parent74443f185ed91f3388b0e45838262eb3ec8338aa (diff)
downloadgit-a5b2d4ac24ef18cf8c628e258bef8a20d9bf4b2b.tar.xz
Merge branch 'mv/remote-rename'
* mv/remote-rename: git-remote: document the migration feature of the rename subcommand git-remote rename: migrate from remotes/ and branches/ remote: add a new 'origin' variable to the struct Implement git remote rename
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/remote.h b/remote.h
index d2e170ce66..a46a5be131 100644
--- a/remote.h
+++ b/remote.h
@@ -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;