summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2017-03-03 09:51:28 -0800
committerMichael Forney <mforney@mforney.org>2017-03-03 09:51:28 -0800
commite54ab5e9531fc1961bbad651dfcef5a1b9e5fc94 (patch)
treec94f0d1c029bc6da537f9f8d60aff7ac1e06d6a7 /pkg
parent54423fc6ba28ee08e6cc850dfee81f5fef18f219 (diff)
git: Set DEFAULT_EDITOR and DEFAULT_PAGER
Otherwise, git will try to invoke vi and less if they are unset.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/git/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/git/config.h b/pkg/git/config.h
index d328ba1f..da25eb07 100644
--- a/pkg/git/config.h
+++ b/pkg/git/config.h
@@ -1,4 +1,6 @@
+#define DEFAULT_EDITOR "sam -d"
#define DEFAULT_GIT_TEMPLATE_DIR "share/git-core/templates"
+#define DEFAULT_PAGER ""
#define ETC_GITATTRIBUTES "/etc/gitattributes"
#define ETC_GITCONFIG "/etc/gitconfig"
#define GIT_EXEC_PATH "libexec/git-core"