Skip to content

Commit

Permalink
Make gitto.el work with the latest gitto
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuslash committed Oct 12, 2013
1 parent 87a300c commit aab22cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions emacs/gitto.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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

0 comments on commit aab22cb

Please sign in to comment.