@matheusbsbs / matheus-bagliano / commits / 87b49a533b
Fork 0

git-gui: Include a Push action on the left toolbar

Pushing changes to a remote system is a very common action for many users of git-gui, so much so that in some workflows a user is supposed to push immediately after they make a local commit so that their change(s) are immediately available for their teammates to view and build on top of. Including the push button right below the commit button on the left toolbar indicates that users should probably perform this action after they have performed the commit action. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Shawn O. Pearce committed Jul 5, 2007 at 22:19 UTC 87b49a533b0ee0da06c06fb466844885ae0d35bd
1 file changed +4
git-gui.sh
+4
@@ -1822,6 +1822,10 @@ pack .vpane.lower.commarea.buttons.commit -side top -fill x
1822 lappend disable_on_lock \
1823 {.vpane.lower.commarea.buttons.commit conf -state}
1824
1825 +button .vpane.lower.commarea.buttons.push -text {Push} \
1826 + -command do_push_anywhere
1827 +pack .vpane.lower.commarea.buttons.push -side top -fill x
1828 +
1829 # -- Commit Message Buffer
1830 #
1831 frame .vpane.lower.commarea.buffer