threads / patch / 2261

patchgit-push.sh: Retain cuteness, add helpfulness.

Subject: [PATCH] git-push.sh: Retain cuteness, add helpfulness.

## tl;dr

2 messages between Oct 29, 2005 and Oct 29, 2005. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

c.shoemaker@cox.net· Oct 29, 2005, 04:17 UTC · lore
Signed-off-by: Chris Shoemaker <c.shoemaker at cox.net>
---
 git-push.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
a20e79837771edccdfae495983a9538a76c6ada8
Show changes to git-push.sh +2 −1
diff --git a/git-push.sh b/git-push.sh
--- a/git-push.sh
+++ b/git-push.sh
@@ -33,7 +33,8 @@ do
 done
 case "$#" in
 0)
-	die "Where would you want to push today?" ;;
+	echo "Where would you want to push today?"
+        usage ;;
 esac
 
 . git-parse-remote
Chris Shoemaker· Oct 29, 2005, 05:03 UTC · re: c.shoemaker@cox.net · lore

Re: [PATCH] git-push.sh: Retain cuteness, add helpfulness.

I'm sorry that the patch-set I just sent didn't contain an ordering. The order is:

0002-Minor-clarifications-in-diffcore-documentation.txt 0003-Remove-r-from-common-diff-options-documentation-in-one-more-place.txt 0004-update-usage-string-for-git-commit.sh.txt 0005-Add-usage-statement-for-git-reset.sh.txt 0006-Add-usage-statement-to-git-push.sh.txt 0007-Actually-git-reset-arguments-are-mutually-exclusive.txt 0008-git-push.sh-Factor-out-usage-statement-to-function-explain-why-rsync-can-t-push.txt 0009-git-push.sh-Retain-cuteness-add-helpfulness.txt

I tried and failed to get git-send-email to work, so I tried to roll my own and it didn't work that well. I'll try harder.

-chris

← back to recent threads