[emacs] assimilate and try out magithub
authorAmin Bandali <bandali@gnu.org>
Tue, 13 Nov 2018 00:39:20 +0000 (19:39 -0500)
committerAmin Bandali <bandali@gnu.org>
Tue, 13 Nov 2018 00:39:20 +0000 (19:39 -0500)
.gitmodules
init.org
lib/apiwrap [new submodule]
lib/ghub+ [new submodule]
lib/magithub [new submodule]

index 589db77..069d432 100644 (file)
@@ -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
 [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
 [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
 [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
index 139e448..d90812e 100644 (file)
--- 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 (submodule)
index 0000000..e4c9c57
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit e4c9c57d6620a788ec8a715ff1bb50542edea3a6
diff --git a/lib/ghub+ b/lib/ghub+
new file mode 160000 (submodule)
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 (submodule)
index 0000000..e5aaef8
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit e5aaef889e362fc15e110cd58de064ff8db6d615