Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fetch tests: expand case/esac for later change
author
Ævar Arnfjörð Bjarmason
<avarab@gmail.com>
Fri, 9 Feb 2018 20:32:09 +0000
(20:32 +0000)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 9 Feb 2018 21:10:12 +0000
(13:10 -0800)
Expand a compact case/esac statement for a later change that'll add
more logic to the body of the "*" case. This is a whitespace-only
change.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
82f34e0
)
diff --git
a/t/t5510-fetch.sh
b/t/t5510-fetch.sh
index 88d38e0819111b3b0836d37bd39fd96c946a154b..dfc749f576bf1020e178dd0c5312e4b2d29dbdd2 100755
(executable)
--- a/
t/t5510-fetch.sh
+++ b/
t/t5510-fetch.sh
@@
-543,8
+543,12
@@
test_expect_success "should be able to fetch with duplicate refspecs" '
set_config_tristate () {
# var=$1 val=$2
case "$2" in
- unset) test_unconfig "$1" ;;
- *) git config "$1" "$2" ;;
+ unset)
+ test_unconfig "$1"
+ ;;
+ *)
+ git config "$1" "$2"
+ ;;
esac
}