diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2016-12-29 14:06:27 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2016-12-29 14:06:27 +0100 |
| commit | a16174830fc1c317d128436a44c3a5f9f32bddda (patch) | |
| tree | dd1f0025f085533bd8185649501c2f99d8002c6c /lisp/magit-subtree.el | |
| parent | 8c42fe2803b47b17ba771a33413cf098a3e8aa99 (diff) | |
Split several libraries into more sections
Diffstat (limited to 'lisp/magit-subtree.el')
| -rw-r--r-- | lisp/magit-subtree.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/magit-subtree.el b/lisp/magit-subtree.el index d771ffc..9d359c9 100644 --- a/lisp/magit-subtree.el +++ b/lisp/magit-subtree.el @@ -25,6 +25,8 @@ (require 'magit) +;;; Popup + ;;;###autoload (autoload 'magit-subtree-popup "magit-subtree" nil t) (magit-define-popup magit-subtree-popup "Popup console for subtree commands." @@ -61,6 +63,8 @@ (user-error "%s isn't inside the repository at %s" prefix topdir)) prefix))) +;;; Commands + (defun magit-subtree-prefix (prompt) (--if-let (--first (string-prefix-p "--prefix=" it) (magit-subtree-arguments)) |
