Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

• give ‘-p0’ as option to patch. This makes it use the full path spec…

…ified in the diff file, rather than just the filename.

git-svn-id: http://svn.textmate.org/trunk/Bundles/Diff.tmbundle@6574 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 3949b6c0fa58cc04b7b3a73c6fbf6b8c8ba0b9d4 1 parent 6143dd6
@sorbits sorbits authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Commands/Apply Patch.tmCommand
View
2  Commands/Apply Patch.tmCommand
@@ -19,7 +19,7 @@ END)
if [[ -z $path ]]; then
exit_discard
else
- patch -d "$path" < "$TM_FILEPATH"
+ patch -d "$path" -p0 < "$TM_FILEPATH"
fi
</string>
<key>input</key>
Please sign in to comment.
Something went wrong with that request. Please try again.