List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH v2 RESEND 1/2] tests: handle paths with whitespace
@ 2012-03-18 10:43 mailings
  2012-03-18 10:43 ` [PATCH v2 RESEND 2/2] tests: properly quote arguments to printf mailings
  2012-03-18 10:56 ` [PATCH v2 RESEND 1/2] tests: handle paths with whitespace larsh
  0 siblings, 2 replies; 4+ messages in thread
From: mailings @ 2012-03-18 10:43 UTC (permalink / raw)


From: Ferry Huberts <ferry.huberts at pelagic.nl>

v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts at pelagic.nl>
---
 tests/setup.sh       |    2 +-
 tests/t0108-patch.sh |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/setup.sh b/tests/setup.sh
index b21908d..18fae22 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -41,7 +41,7 @@ mkrepo() {
 		git commit -m "add a+b"
 		git branch "1+2"
 	fi
-	cd $dir
+	cd "$dir"
 }
 
 setup_repos()
diff --git a/tests/t0108-patch.sh b/tests/t0108-patch.sh
index e608104..6ee70b3 100755
--- a/tests/t0108-patch.sh
+++ b/tests/t0108-patch.sh
@@ -25,7 +25,7 @@ run_test 'find `cgit` signature' '
 '
 
 run_test 'find initial commit' '
-	root=$(git --git-dir=$PWD/trash/repos/foo/.git rev-list HEAD | tail -1)
+	root=$(git --git-dir="$PWD/trash/repos/foo/.git" rev-list HEAD | tail -1)
 '
 
 run_test 'generate patch for initial commit' '
-- 
1.7.7.6





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 RESEND 2/2] tests: properly quote arguments to printf
  2012-03-18 10:43 [PATCH v2 RESEND 1/2] tests: handle paths with whitespace mailings
@ 2012-03-18 10:43 ` mailings
  2012-03-18 10:57   ` larsh
  2012-03-18 10:56 ` [PATCH v2 RESEND 1/2] tests: handle paths with whitespace larsh
  1 sibling, 1 reply; 4+ messages in thread
From: mailings @ 2012-03-18 10:43 UTC (permalink / raw)


From: Ferry Huberts <ferry.huberts at pelagic.nl>

v2: incorporate remarks of Lukas

Signed-off-by: Ferry Huberts <ferry.huberts at pelagic.nl>
---
 tests/setup.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/setup.sh b/tests/setup.sh
index 18fae22..e3c6c17 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -22,7 +22,7 @@ mkrepo() {
 	count=$2
 	dir=$PWD
 	test -d "$name" && return
-	printf "Creating testrepo %s\n" $name
+	printf "Creating testrepo %s\n" "$name"
 	mkdir -p "$name"
 	cd "$name"
 	git init
-- 
1.7.7.6





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 RESEND 1/2] tests: handle paths with whitespace
  2012-03-18 10:43 [PATCH v2 RESEND 1/2] tests: handle paths with whitespace mailings
  2012-03-18 10:43 ` [PATCH v2 RESEND 2/2] tests: properly quote arguments to printf mailings
@ 2012-03-18 10:56 ` larsh
  1 sibling, 0 replies; 4+ messages in thread
From: larsh @ 2012-03-18 10:56 UTC (permalink / raw)


On Sun, Mar 18, 2012 at 11:43:49AM +0100, Ferry Huberts wrote:
> From: Ferry Huberts <ferry.huberts at pelagic.nl>
> 
> v2: incorporate remarks of Lukas

Thanks, applied to stable.

--
larsh




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 RESEND 2/2] tests: properly quote arguments to printf
  2012-03-18 10:43 ` [PATCH v2 RESEND 2/2] tests: properly quote arguments to printf mailings
@ 2012-03-18 10:57   ` larsh
  0 siblings, 0 replies; 4+ messages in thread
From: larsh @ 2012-03-18 10:57 UTC (permalink / raw)


On Sun, Mar 18, 2012 at 11:43:50AM +0100, Ferry Huberts wrote:
> From: Ferry Huberts <ferry.huberts at pelagic.nl>
> 
> v2: incorporate remarks of Lukas

Thanks, applied to stable.

--
larsh




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-18 10:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-18 10:43 [PATCH v2 RESEND 1/2] tests: handle paths with whitespace mailings
2012-03-18 10:43 ` [PATCH v2 RESEND 2/2] tests: properly quote arguments to printf mailings
2012-03-18 10:57   ` larsh
2012-03-18 10:56 ` [PATCH v2 RESEND 1/2] tests: handle paths with whitespace larsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).