Skip to content

Fix $((...)) coding style

Johannes Schindelin git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3filter-branch: fix style of $((...) constructgit-filter-branch.sh+4 -40 replies
2/3rebase--interactive: adjust the coding style of $((...))git-rebase--interactive.sh+2 -20 replies
3/3rebase --merge: adjust $((...)) coding stylegit-rebase--merge.sh+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix $((...)) coding style

I noticed through a nearby patch series that was submitted by Elia that some of the $((...)) expressions introduced in scripts that I introduced to Git's source code did not match the existing code's convention:
previously these expressions did not contain any spaces, now *some* do.

This patch series tries to clean that up quickly before even more code has to decide which one of the disagreeing coding conventions to use.

Note: For the sake of getting this patch series out, I skipped t/ and contrib/. I do not care much about the latter, but t/ should probably be fixed, too.

Johannes Schindelin (3):
filter-branch: fix style of $((...) construct
rebase--interactive: adjust the coding style of $((...)) rebase --merge: adjust $((...)) coding style

 git-filter-branch.sh       | 8 ++++----
 git-rebase--interactive.sh | 4 ++--
 git-rebase--merge.sh       | 8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.7.0.windows.1.7.g55a05c8