projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4cfcb0
)
git-p4: Fix indentation from tab to spaces
author
Toby Allsopp
<Toby.Allsopp@navman.co.nz>
Mon, 4 Feb 2008 20:41:43 +0000
(09:41 +1300)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 7 Feb 2008 08:39:08 +0000
(
00:39
-0800)
Signed-off-by: Toby Allsopp <toby.allsopp@navman.co.nz>
contrib/fast-import/git-p4
patch
|
blob
|
history
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index c17afae94aa4dc0d3c8c38517a52ae91c231deaf..781a0cbbbc96d7bf5c6d77518f2d6c9d043ba68b 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-1646,7
+1646,7
@@
class P4Clone(P4Sync):
depotPath = args[0]
depotDir = re.sub("(@[^@]*)$", "", depotPath)
depotDir = re.sub("(#[^#]*)$", "", depotDir)
- depotDir = re.sub(r"\.\.\.$", "", depotDir)
+
depotDir = re.sub(r"\.\.\.$", "", depotDir)
depotDir = re.sub(r"/$", "", depotDir)
return os.path.split(depotDir)[1]