1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-16 14:04:52 +01:00
git/contrib/examples
Elia Pinto 6f34b79de1 contrib/examples/git-resolve.sh: avoid "test <cond> -a/-o <cond>"
The construct is error-prone; "test" being built-in in most modern
shells, the reason to avoid "test <cond> && test <cond>" spawning
one extra process by using a single "test <cond> -a <cond>" no
longer exists.

Signed-off-by: Elia Pinto <gitter.spiros@gmail.com>
Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-06-09 14:47:06 -07:00
..
builtin-fetch--tool.c refs.h: rename the action_on_err constants 2014-04-07 12:09:11 -07:00
git-checkout.sh Merge branch 'ep/shell-command-substitution' 2014-04-21 10:42:42 -07:00
git-clean.sh
git-clone.sh contrib/examples/git-clone.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-commit.sh contrib/examples/git-commit.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-fetch.sh git-fetch.sh: use the $( ... ) construct for command substitution 2014-04-17 11:14:59 -07:00
git-gc.sh
git-log.sh
git-ls-remote.sh git-ls-remote.sh: use the $( ... ) construct for command substitution 2014-04-17 11:14:59 -07:00
git-merge-ours.sh
git-merge.sh contrib/examples/git-merge.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-notes.sh
git-remote.perl
git-repack.sh contrib/examples/git-repack.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-rerere.perl
git-reset.sh comments: fix misuses of "nor" 2014-03-31 15:29:27 -07:00
git-resolve.sh contrib/examples/git-resolve.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-revert.sh git-revert.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:00 -07:00
git-svnimport.perl
git-svnimport.txt
git-tag.sh git-tag.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:00 -07:00
git-verify-tag.sh
git-whatchanged.sh repo-config: remove deprecated alias for "git config" 2013-11-12 14:10:17 -08:00
README

These are original scripted implementations, kept primarily for their
reference value to any aspiring plumbing users who want to learn how
pieces can be fit together.