From 620ed6895854c0b82e72a9acedd481e5e14cf80a Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 12 Nov 2018 19:39:20 -0500 Subject: [emacs] assimilate and try out magithub --- .gitmodules | 20 +++++++++++++++++--- init.org | 12 ++++++++++++ lib/apiwrap | 1 + lib/ghub+ | 1 + lib/magithub | 1 + 5 files changed, 32 insertions(+), 3 deletions(-) create mode 160000 lib/apiwrap create mode 160000 lib/ghub+ create mode 160000 lib/magithub diff --git a/.gitmodules b/.gitmodules index 589db77..069d432 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,6 +10,9 @@ [submodule "anzu"] path = lib/anzu url = git@github.com:syohex/emacs-anzu.git +[submodule "apiwrap"] + path = lib/apiwrap + url = git@github.com:vermiculus/apiwrap.el.git [submodule "async"] path = lib/async url = git@github.com:jwiegley/emacs-async.git @@ -94,6 +97,10 @@ [submodule "ghub"] path = lib/ghub url = git@github.com:magit/ghub.git +[submodule "ghub+"] + path = lib/ghub+ + url = git@github.com:vermiculus/ghub-plus.git + remote = aminb git@github.com:aminb/ghub-plus.git [submodule "git-modes"] path = lib/git-modes url = git@github.com:magit/git-modes.git @@ -154,6 +161,13 @@ [submodule "magit-popup"] path = lib/magit-popup url = git@github.com:magit/magit-popup.git +[submodule "magithub"] + path = lib/magithub + url = git@github.com:vermiculus/magithub.git + # magithub creates a `dir' info-related file, which makes git + # think the submodule is dirty. so, let's ignore the untracked + # files of this submodule + ignore = untracked [submodule "markdown-mode"] path = lib/markdown-mode url = git@github.com:jrblevin/markdown-mode.git @@ -163,9 +177,9 @@ [submodule "mmm-mode"] path = lib/mmm-mode url = git@github.com:purcell/mmm-mode.git - # mmm-mode creates a `dir' dash info file, which makes git think - # that the submodule is dirty. so, let's ignore the untracked - # files of dash's submodule + # mmm-mode creates a `dir' info-related file, which makes git + # think the submodule is dirty. so, let's ignore the untracked + # files of this submodule ignore = untracked [submodule "mwim"] path = lib/mwim diff --git a/init.org b/init.org index 139e448..d90812e 100644 --- a/init.org +++ b/init.org @@ -1814,6 +1814,18 @@ Hopefully temporary. "")))) #+end_src +** magithub + +For when I /have to/ use GH. + +#+begin_src emacs-lisp +(use-package magithub + :after magit + :config + (magithub-feature-autoinject t) + (setq magithub-clone-default-directory "~/src/git")) +#+end_src + * Email #+begin_src emacs-lisp diff --git a/lib/apiwrap b/lib/apiwrap new file mode 160000 index 0000000..e4c9c57 --- /dev/null +++ b/lib/apiwrap @@ -0,0 +1 @@ +Subproject commit e4c9c57d6620a788ec8a715ff1bb50542edea3a6 diff --git a/lib/ghub+ b/lib/ghub+ new file mode 160000 index 0000000..a38f7df --- /dev/null +++ b/lib/ghub+ @@ -0,0 +1 @@ +Subproject commit a38f7df9965acb0f718b44def3b320060aeeb2af diff --git a/lib/magithub b/lib/magithub new file mode 160000 index 0000000..e5aaef8 --- /dev/null +++ b/lib/magithub @@ -0,0 +1 @@ +Subproject commit e5aaef889e362fc15e110cd58de064ff8db6d615 -- cgit v1.2.3-60-g2f50