summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-01-26 00:49:17 -0500
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-01-26 00:49:17 -0500
commitb972ea59e422588963bda7be8e04c59728accadf (patch)
tree0a32195f68608c85c22e7e3dcc22f230fcce82d4 /git-gui.sh
parentgit-gui: Remove no longer used pull from remote code. (diff)
downloadtgif-b972ea59e422588963bda7be8e04c59728accadf.tar.xz
git-gui: Always use -v option to push.
Right now `git-push -v` is actually not that verbose; it merely adds the URL it is pushing to. This can be informative if you are pushing to a configured remote, as you may not actually remember what URL that remote is connected to. That detail can be important if the push fails and you attempt to communicate the errors to a 3rd party to help you resolve the issue. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-gui.sh b/git-gui.sh
index c42673c8e3..48e1f821de 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1285,6 +1285,7 @@ proc push_to {remote} {
"push $remote" \
"Pushing changes to $remote"]
set cmd [list git push]
+ lappend cmd -v
lappend cmd $remote
console_exec $w $cmd
}