]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/arith-expansion-coding-guidelines'
authorJunio C Hamano <gitster@pobox.com>
Fri, 8 May 2020 21:25:07 +0000 (14:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 May 2020 21:25:07 +0000 (14:25 -0700)
commit6d4bf5813cd2c1a3b93fd4f0b231733f82133cce
treec6a42769e8a2b0a3af91e89d4934c5ce0b94b458
parente9acbd68366ae26834a1f8d0801647a7e6de9500
parent32b5fe7f0e2cb798954b3e01b990bc140706e191
Merge branch 'jk/arith-expansion-coding-guidelines'

The coding guideline for shell scripts instructed to refer to a
variable with dollar-sign inside arithmetic expansion to work
around a bug in old versions of dash, which is a thing of the past.
Now we are not forbidden from writing $((var+1)).

* jk/arith-expansion-coding-guidelines:
  CodingGuidelines: drop arithmetic expansion advice to use "$x"
Documentation/CodingGuidelines