summaryrefslogtreecommitdiff
path: root/src/remote.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-10-07 21:00:46 +0200
committernulltoken <emeric.fermas@gmail.com>2012-10-07 21:03:37 +0200
commit096d9e94aa9e19669e778c8644ccfa7f41f98eaf (patch)
tree349f22d6e6754d295a2c7c5c42b77c784e93d2e3 /src/remote.h
parent74a24005146d0f908b2660db5f7e198adad4ab64 (diff)
downloadlibgit2-096d9e94aa9e19669e778c8644ccfa7f41f98eaf.tar.gz
remote: use constants for well-known names
Diffstat (limited to 'src/remote.h')
-rw-r--r--src/remote.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/remote.h b/src/remote.h
index b8bb2c55d..05073db8c 100644
--- a/src/remote.h
+++ b/src/remote.h
@@ -13,6 +13,8 @@
#include "transport.h"
#include "repository.h"
+#define GIT_REMOTE_ORIGIN "origin"
+
struct git_remote {
char *name;
char *url;