diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-09-23 17:13:55 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-23 17:13:55 -0700 |
commit | 4f337e24662f07513fd6e8388f27f13dbe44cadc (patch) | |
tree | 8ad206ef3ff7aa7117a5c9120bbd45345ff7ae3a /contrib/examples | |
parent | rev-list --bisect: Fix best == NULL case. (diff) | |
parent | Merge branch 'maint' of git://linux-nfs.org/~bfields/git into maint (diff) | |
download | tgif-4f337e24662f07513fd6e8388f27f13dbe44cadc.tar.xz |
Merge branch 'maint'
* maint:
git-svn: don't attempt to spawn pager if we don't want one
Supplant the "while case ... break ;; esac" idiom
User Manual: add a chapter for submodules
user-manual: don't assume refs are stored under .git/refs
Detect exec bit in more cases.
Conjugate "search" correctly in the git-prune-packed man page.
Move the paragraph specifying where the .idx and .pack files should be
Documentation/git-lost-found.txt: drop unnecessarily duplicated name.
Diffstat (limited to 'contrib/examples')
-rwxr-xr-x | contrib/examples/git-gc.sh | 2 | ||||
-rwxr-xr-x | contrib/examples/git-reset.sh | 2 | ||||
-rwxr-xr-x | contrib/examples/git-tag.sh | 2 | ||||
-rwxr-xr-x | contrib/examples/git-verify-tag.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/contrib/examples/git-gc.sh b/contrib/examples/git-gc.sh index 2ae235b081..1597e9f33f 100755 --- a/contrib/examples/git-gc.sh +++ b/contrib/examples/git-gc.sh @@ -9,7 +9,7 @@ SUBDIRECTORY_OK=Yes . git-sh-setup no_prune=: -while case $# in 0) break ;; esac +while test $# != 0 do case "$1" in --prune) diff --git a/contrib/examples/git-reset.sh b/contrib/examples/git-reset.sh index 1dc606fbd3..bafeb52cd1 100755 --- a/contrib/examples/git-reset.sh +++ b/contrib/examples/git-reset.sh @@ -11,7 +11,7 @@ require_work_tree update= reset_type=--mixed unset rev -while case $# in 0) break ;; esac +while test $# != 0 do case "$1" in --mixed | --soft | --hard) diff --git a/contrib/examples/git-tag.sh b/contrib/examples/git-tag.sh index 5ee3f50a3c..ae7c531666 100755 --- a/contrib/examples/git-tag.sh +++ b/contrib/examples/git-tag.sh @@ -14,7 +14,7 @@ username= list= verify= LINES=0 -while case "$#" in 0) break ;; esac +while test $# != 0 do case "$1" in -a) diff --git a/contrib/examples/git-verify-tag.sh b/contrib/examples/git-verify-tag.sh index 37b0023b27..0902a5c21a 100755 --- a/contrib/examples/git-verify-tag.sh +++ b/contrib/examples/git-verify-tag.sh @@ -5,7 +5,7 @@ SUBDIRECTORY_OK='Yes' . git-sh-setup verbose= -while case $# in 0) break;; esac +while test $# != 0 do case "$1" in -v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose) |