Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfreku045@student.liu.se <freku045@student.liu.se>2005-12-14 01:30:31 +0300
committerJunio C Hamano <junkio@cox.net>2005-12-14 13:53:43 +0300
commit806f36d4d7caf75b6d3e098cb0353d85d3477c7d (patch)
tree7925350d3228cd00602abb91fe8712c236ddb2bb /git-checkout.sh
parentaa9dc7afd2fc40466b430b35fc5c82d3c820cb26 (diff)
Trivial usage string clean-up
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-checkout.sh')
-rwxr-xr-xgit-checkout.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/git-checkout.sh b/git-checkout.sh
index 4cf30e2c05..f241d4ba6b 100755
--- a/git-checkout.sh
+++ b/git-checkout.sh
@@ -1,9 +1,7 @@
#!/bin/sh
-. git-sh-setup
-usage () {
- die "usage: git checkout [-f] [-b <new_branch>] [<branch>] [<paths>...]"
-}
+USAGE='[-f] [-b <new_branch>] [<branch>] [<paths>...]'
+. git-sh-setup
old=$(git-rev-parse HEAD)
new=