Re: [PATCH 8/8] Fix tests breaking when checkout path contains shell metacharacters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 10, 2008 at 08:49:03AM +0200, Johannes Sixt wrote:
> Bryan Donlan schrieb:
> > To be honest, I fixed all the git-svn tests with a suitably clever vim s///
> > expression, so at the time this way was actually easier :)
> 
> Fair enough. If you still have the statement in you vim history, it's
> worth quoting in the commit message. It's another piece of information
> that helps reviewing.

It's fallen off by now, but as I recall it was something along the lines
of:
:%s/\$\({a number of questionable variable names}\)/\\"\\$\1\\"/gc

After which point I stepped through the matches to confirm that it was
actually within the test eval strings at the time.

Thanks,

Bryan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux