Added the ability to push tags.

This commit is contained in:
Phil Jackson 2010-09-28 17:00:19 +01:00
parent 8d94579f8b
commit 8152961d36
2 changed files with 7 additions and 1 deletions

View file

@ -56,7 +56,8 @@
(pushing
(man-page "git-push")
(actions
("p" "Push" magit-push))
("p" "Push" magit-push)
("t" "Push tags" magit-push-tags))
(switches
("-f" "Force" "--force")
("-d" "Dry run" "-n")))

View file

@ -3184,6 +3184,11 @@ typing and automatically refreshes the status buffer."
args)
nil nil nil t))))
(magit-define-command push-tags ()
"Push tags."
(interactive)
(magit-run-git-async "push" "--tags"))
(magit-define-command push ()
(interactive)
(let* ((branch (or (magit-get-current-branch)