diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-09-02 01:26:40 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-09-02 01:26:40 -0400 |
commit | f4b84e60ee02979be8d7ff01c97c849ccc96b2b0 (patch) | |
tree | 33cb458569f2bbed400a7e4582a62ea22a18f2cb | |
parent | d76f7e7ac8dd5ced9bde43a72676a1043af01afd (diff) | |
download | emacs.d-f4b84e60ee02979be8d7ff01c97c849ccc96b2b0.tar.gz |
Change Magit function docstrings
Make the git line consistent with Magit.
-rw-r--r-- | lisp/init-git.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el index bed87c1..9ffe6a5 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -34,7 +34,7 @@ Useful for non-source code repos (e.g., Org mode note files)." (defun km/magit-checkout-local-tracking (remote-branch) "Create and checkout a local tracking branch for REMOTE-BRANCH. -\(git checkout -t REMOTE-BRANCH\)" +\n(git checkout -t REMOTE-BRANCH\)" (interactive (list (magit-completing-read "Remote branch" (magit-list-remote-branch-names)))) @@ -44,14 +44,13 @@ Useful for non-source code repos (e.g., Org mode note files)." "Create and checkout BRANCH at current branch. This is equivalent to running `magit-branch-and-checkout' with START-POINT set to the current branch. - -\(git checkout -b BRANCH)" +\n(git checkout -b BRANCH)" (interactive (list (magit-read-string "Branch name"))) (magit-run-git "checkout" "-b" branch)) (defun km/magit-backup-branch () "Create a backup branch for the current branch. -\(git branch b/<current-branch>\)" +\n(git branch b/<current-branch>)" (interactive) (-if-let (current-branch (magit-get-current-branch)) (magit-run-git "branch" (concat "b/" current-branch)) |