Add ~user friendly Bourne style quoting for TransportGitSsh
commitbf121d28e5e51c969698918505711180c3e9c3eb
authorShawn O. Pearce <spearce@spearce.org>
Wed, 10 Dec 2008 23:59:54 +0000 (10 15:59 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 13 Dec 2008 02:13:24 +0000 (13 03:13 +0100)
tree7c337236429de47ae37382f4966a7da069ddbaa4
parentfd93b0a2b584ce317e2a08816862da64c18b4518
Add ~user friendly Bourne style quoting for TransportGitSsh

This mostly completes the migration of our quoting rules from the
SSH transport to our QuotedString pattern.  User names may be left
alone for the shell to expand when the string is evaluated, if the
caller wants that sort of behavior in a particular context.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.test/tst/org/spearce/jgit/util/QuotedStringBourneUserPathStyleTest.java [new file with mode: 0644]
org.spearce.jgit/src/org/spearce/jgit/transport/TransportGitSsh.java
org.spearce.jgit/src/org/spearce/jgit/util/QuotedString.java