Skip to contentSkip to conversation

status tests: fix a minor indenting issue

PATCH In review Kaartic Sivaraam 2 participants 3 messages Jun 21, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 status tests: fix a minor indenting issue

Change the indentation from "\t " to "\t". This indenting issue was introduced when the test was added in commit
1d2f393ac9 ("status/commit: show staged submodules regardless of ignore config", 2014-04-05).

---
 t/t7508-status.sh | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
t/t7508-status.sh +0 -0
index 5edcc6edf..35ea0b707 100755
@@ -1494,7 +1494,7 @@ EOF

 test_expect_success 'git commit -m will commit a staged but ignored submodule' '
  git commit -uno -m message &&
  git status -s --ignore-submodules=dirty >output &&
-  test_i18ngrep ! "^M. sm" output &&
+ test_i18ngrep ! "^M. sm" output &&
  git config --remove-section submodule.subname && git config -f .gitmodules  --remove-section submodule.subname '
--
2.11.0

#1 lore raw
Quoted 23 lines · Kaartic Sivaraam

Change the indentation from "\t " to "\t". This indenting issue was introduced when the test was added in commit
1d2f393ac9 ("status/commit: show staged submodules regardless of ignore config", 2014-04-05).

---
 t/t7508-status.sh | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
t/t7508-status.sh +0 -0
index 5edcc6edf..35ea0b707 100755
@@ -1494,7 +1494,7 @@ EOF

 test_expect_success 'git commit -m will commit a staged but ignored submodule' '
  git commit -uno -m message &&
  git status -s --ignore-submodules=dirty >output &&

t/t7508-status.sh +1 -1
-	 test_i18ngrep ! "^M. sm" output &&
+	test_i18ngrep ! "^M. sm" output &&
Quoted 5 lines

  git config --remove-section submodule.subname && git config -f .gitmodules  --remove-section submodule.subname '
--
2.11.0

Your patch is heavily whitespace damaged, line-wrapped and full of <A0> (nbsp??) bytes as can be seen by downloading from

http://public-inbox.org/git/%[email protected]%3E/raw

I'll hand-tweak to make it apply, so no need to resend but please make sure you can send your patches cleanly before sending a more substantial patch.

Thanks.

#2 lore raw
Quoted 12 lines · Junio C Hamano

Your patch is heavily whitespace damaged, line-wrapped and full of <A0> (nbsp??) bytes as can be seen by downloading from

http://public-inbox.org/git/%[email protected]%3E/r
aw

I'll hand-tweak to make it apply, so no need to resend but please make sure you can send your patches cleanly before sending a more substantial patch.

Thanks.

Sorry about that. As specified in another thread, will be careful about sending patches through email-clients in future.

Signature · 2 lines
Regards,
Kaartic Sivaraam <[email protected]>