aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-10-13 00:42:54 +0200
committerGravatar Tom Willemse2013-10-13 00:42:54 +0200
commitaab22cbb6e033b731fa00cf6fc83196aa60442dd (patch)
treeee119ba97f974e09d477b65d9a6dbb1950b79f5f
parent87a300c3899d9c62ced9b5d687c647cf2dde0d7a (diff)
downloadgitto-aab22cbb6e033b731fa00cf6fc83196aa60442dd.tar.gz
gitto-aab22cbb6e033b731fa00cf6fc83196aa60442dd.zip
Make gitto.el work with the latest gitto
-rw-r--r--emacs/gitto.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/gitto.el b/emacs/gitto.el
index 5d514c1..646ae85 100644
--- a/emacs/gitto.el
+++ b/emacs/gitto.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: convenience
-;; Package-Version: 0.2.0
+;; Package-Version: 0.2.1
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -44,7 +44,7 @@
"Check if DIR is a registered repository."
(not (string-match-p "not registered"
(shell-command-to-string
- (concat gitto-program " -c " dir)))))
+ (concat gitto-program " check " dir)))))
;;;###autoload
(defun gitto-register (dir)
@@ -53,7 +53,7 @@
(unless dir
(error "Not a git repository"))
- (shell-command (concat gitto-program " -r " dir)))
+ (shell-command (concat gitto-program " add " dir)))
;;;###autoload
(defun gitto-unregister (dir)
@@ -62,7 +62,7 @@
(unless (and dir (gitto-registered-p dir))
(error "Not a registered git repository"))
- (shell-command (concat gitto-program " -R " dir)))
+ (shell-command (concat gitto-program " remove " dir)))
(provide 'gitto)
;;; gitto.el ends here