login
Header Space

 
 

Re: [PATCH 1/8] git-rebase.sh: Fix --merge --abort failures when path contains whitespace

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bryan Donlan <bdonlan@...>
Cc: <git@...>, Adam Roben <aroben@...>, <gitster@...>
Date: Wednesday, April 9, 2008 - 2:55 am

Bryan Donlan schrieb:

This is not strictly necessary: The RHS expression of an assignment does
not undergo IFS splitting; but better safe than sorry. (But note that
'export foo=$bar', which is not POSIX, is *not* an assignment, and
different shells that support this construct treat it differently.)


In effect, you modify only this test to stress-test strange characters,
but other tests in the test suite still run in a "sane" environment. IOW,
I don't think you should go to this extreme for this one test only. The
better approach would be to rename 'trash' in test-lib.sh to this strange
name so that all tests suffer from a challenging environment.


I could imagine that the missing && after the git reset is deliberate. Mike?


Ditto.

Apart from that, this looks good.

-- 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 1/8] git-rebase.sh: Fix --merge --abort failures ..., Johannes Sixt, (Wed Apr 9, 2:55 am)
[PATCH 4/8] test-lib.sh: Fix some missing path quoting, Bryan Donlan, (Tue Apr 8, 9:30 pm)
[PATCH 7/8] Use test_set_editor in t9001-send-email.sh, Bryan Donlan, (Tue Apr 8, 9:30 pm)
speck-geostationary