[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] odd/multiarch 60db190 01/16: Restore whitespace conc
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] odd/multiarch 60db190 01/16: Restore whitespace concinnity |
Date: |
Wed, 10 Apr 2019 22:15:06 -0400 (EDT) |
branch: odd/multiarch
commit 60db1906e4890456dd37c988e4db14b21c4e1b0b
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Restore whitespace concinnity
A recent change on this branch had altered the indentation of one
'case' statement, making it more like other scripts but unlike the
other 'case' statements in the same script. In retrospect, this did
not seem to improve readability, and indenting this script's other
'case' statements any further would cause them to exceed the
aspirational eighty-character maximum width. Perhaps the 'case'
keyword should induce only half a level of indenting as a general
rule.
---
check_git_setup.sh | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)
diff --git a/check_git_setup.sh b/check_git_setup.sh
index 47c330c..27e85d0 100755
--- a/check_git_setup.sh
+++ b/check_git_setup.sh
@@ -34,23 +34,24 @@ printf '"%s" is git toplevel directory\n' "$toplevel"
#'core.filemode' is "false". See:
# https://lists.nongnu.org/archive/html/lmi/2017-11/msg00018.html
+# Coordinate with changes in other repositories.
# Call 'config.guess' here, or cache it in $LMI_BUILD?
case "$LMI_BUILD" in
- (*-*-cygwin*)
- printf 'cygwin detected\n'
- printf 'forcing correct permissions '
- for d in . gwc; do (\
- printf '%s...' "$d" \
- && find ./$d -maxdepth 1 -type f \
- -not -name '*.sh' -not -name '*.sed' \
- | xargs chmod -x \
- )done; \
- printf 'all permissions forced\n'
- git config core.filemode false
- ;;
- (*)
- printf 'cygwin not detected--assuming OS is POSIX\n'
- ;;
+ (*-*-cygwin*)
+ printf 'cygwin detected\n'
+ printf 'forcing correct permissions '
+ for d in . gwc; do (\
+ printf '%s...' "$d" \
+ && find ./$d -maxdepth 1 -type f \
+ -not -name '*.sh' -not -name '*.sed' \
+ | xargs chmod -x \
+ )done; \
+ printf 'all permissions forced\n'
+ git config core.filemode false
+ ;;
+ (*)
+ printf 'cygwin not detected--assuming OS is POSIX\n'
+ ;;
esac
printf 'core.filemode is "%s"\n' "$(git config --get-all core.filemode)"
- [lmi-commits] [lmi] odd/multiarch updated (b2c1994 -> 11efcd0), Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch f6dd4d2 04/16: Record, in a comment, an idea for a "DO" variable, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 84ef873 02/16: Document some architecture-selection alternatives, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 97b368a 03/16: Document that "$("this is a quoted string")", Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 6535919 05/16: Broaden the scope of the 'clobber' target, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch a70b3bc 10/16: Let 'set_arch.sh' set $PERFORM, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 60db190 01/16: Restore whitespace concinnity,
Greg Chicares <=
- [lmi-commits] [lmi] odd/multiarch daee5d2 06/16: Remove commentary that is no longer useful, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 354d7ce 07/16: Remove redundant extra 'gcc' in wx 'vendor' string, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 3b7638d 12/16: Add a more radical alternative to 'clobber', Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 923023d 09/16: Use 'set_arch.sh' instead of commented-out blocks of code, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 943d5b8 14/16: Install surrogates for proprietary graphics, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 341f8c5 08/16: Move a documentation stanza, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 70cf4ce 13/16: Insert $LMI_HOST into old '/opt/lmi/bin', Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch d435a94 15/16: Work around a boost problem with gcc-8.x, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch 11efcd0 16/16: Rewrite command assuming '/opt/lmi/bin/' no longer exists, Greg Chicares, 2019/04/10
- [lmi-commits] [lmi] odd/multiarch ec73fc6 11/16: Explicitly set $PERFORM even if it should be empty, Greg Chicares, 2019/04/10