Re: [PATCH] Have tests and programs understand paths containing spaces

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Sixt
Date: Wednesday, April 23, 2008 - 12:13 am

Arjen Laarhoven schrieb:

Please separate fixes of core programs/scripts from fixes of the tests
(because the former have a much higher chance of being accepted).

But see these threads first:

http://thread.gmane.org/gmane.comp.version-control.git/60544
http://thread.gmane.org/gmane.comp.version-control.git/79057


Here a few comments:


These are unnecessary: RHS of an assignment does not undergo word splitting.



These changes protect *only* against space-in-name, but not
random-special-character-in-name. The proper fix is to change the quoting from

  test_expect_success "..." "... $svnrepo ..."

to

  test_expect_success '...' '... "$svnrepo" ...'

-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Have tests and programs understand paths conta ..., Johannes Sixt, (Wed Apr 23, 12:13 am)