-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kamil Kujawinski
committed
Feb 13, 2016
1 parent
fe2139b
commit 03e6b75
Showing
6 changed files
with
249 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,32 @@ | ||
[ | ||
{ | ||
"caption": "Patch Apply: Apply", | ||
"command": "patch_apply_do" | ||
"caption": "Preferences: Patch Apply Settings – Default", | ||
"command": "open_file", "args": | ||
{ | ||
"file": "${packages}/Patch Apply/Patch Apply.sublime-settings" | ||
} | ||
}, | ||
{ | ||
"caption": "Preferences: Patch Apply Settings – User", | ||
"command": "open_file", "args": | ||
{ | ||
"file": "${packages}/User/Patch Apply.sublime-settings" | ||
} | ||
}, | ||
{ | ||
"caption": "Patch apply: Apply", | ||
"command": "patch_apply" | ||
}, | ||
{ | ||
"caption": "Patch apply: Apply reverse", | ||
"command": "patch_apply_reverse" | ||
}, | ||
{ | ||
"caption": "Patch apply: Quick apply", | ||
"command": "patch_quick_apply" | ||
}, | ||
{ | ||
"caption": "Patch apply: Quick apply reverse", | ||
"command": "patch_quick_apply_reverse" | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
{ | ||
// "first_name": "John" | ||
"excluded_dirs": [ | ||
".git", ".svn", ".hg", ".cvs" | ||
], | ||
"diff_syntax": "Packages/Diff/Diff.tmLanguage" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Description | ||
----------- | ||
|
||
Sublime Text 3 plugin, which allows to apply patches. After choosing command | ||
from Command Pallette new tab is open where diff needs to be pasted. Patch | ||
will be applied after closing tab. | ||
|
||
|
||
Commands | ||
-------- | ||
|
||
* **Apply** - before appling plugin asks for directory where to apply patch | ||
and strip number | ||
* **Patch apply reverse** - plugin asks same questions as in Apply but applies | ||
reverse patch | ||
* **Quick apply** - plugin takes root folder and assumes "1" as strip number | ||
* **Quick apply reverse** - plugin takes same assumptions as in Quick apply but | ||
applies reverse patch | ||
|
||
|
||
Contributors | ||
------------ | ||
1. Kamil Kujawinski | ||
2. Anders Nøklestad (directory selection taken from https://github.com/noklesta/SublimeQuickFileCreator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff --git a/abc/Main.sublime-menu b/abc/Main.sublime-menu | ||
index 076a129..4eaef42 100644 | ||
--- a/abc/Main.sublime-menu | ||
+++ b/abc/Main.sublime-menu | ||
@@ -1,17 +1,17 @@ | ||
[ | ||
- // { | ||
- // "id": "tools", | ||
- // "children": | ||
- // [ | ||
- // { | ||
- // "caption": "Patch Apply", | ||
- // "children": | ||
- // [ | ||
- // { "caption": "Command name", "command": "patch_apply_do" } | ||
- // ] | ||
- // } | ||
- // ] | ||
- // }, | ||
+ { | ||
+ "id": "tools", | ||
+ "children": | ||
+ [ | ||
+ { | ||
+ "caption": "Patch Apply", | ||
+ "children": | ||
+ [ | ||
+ { "caption": "Command name", "command": "patch_apply_do" } | ||
+ ] | ||
+ } | ||
+ ] | ||
+ }, | ||
// { | ||
// "caption": "Preferences", | ||
// "mnemonic": "n", |