Title: trouble with strip level with git patches · Issue #49 · techtonik/python-patch · GitHub
Open Graph Title: trouble with strip level with git patches · Issue #49 · techtonik/python-patch
X Title: trouble with strip level with git patches · Issue #49 · techtonik/python-patch
Description: Hi, I have created patches using let's say git format-patch -1 To apply the patch using regular patch command line I apply: patch -p1 < patch When trying to use instead patch.py I've tried patch.py -p1 -- < patch It fails You have to app...
Open Graph Description: Hi, I have created patches using let's say git format-patch -1 To apply the patch using regular patch command line I apply: patch -p1 < patch When trying to use instead patch.py I've tried patch.py...
X Description: Hi, I have created patches using let's say git format-patch -1 To apply the patch using regular patch command line I apply: patch -p1 < patch When trying to use instead patch.py I've tri...
Opengraph URL: https://github.com/techtonik/python-patch/issues/49
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"trouble with strip level with git patches","articleBody":"Hi,\r\nI have created patches using let's say ```git format-patch -1```\r\nTo apply the patch using regular patch command line I apply: patch -p1 \u003c patch\r\n\r\nWhen trying to use instead patch.py I've tried \r\npatch.py -p1 -- \u003c patch\r\nIt fails\r\n\r\nYou have to apply: -p0 to get patch.py to work\r\nThis is very disturbing behaviour...\r\nWould it be possible to use the same strip level as in regular patch \r\n\r\nBest","author":{"url":"https://github.com/Trophime","@type":"Person","name":"Trophime"},"datePublished":"2017-02-16T12:56:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/49/python-patch/issues/49"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a3924464-cef3-4162-ca98-0f5831cd003f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 84D0:8D103:11D984F:17D7209:696AD444 |
| html-safe-nonce | 6c04fab17eef51e6b15bd400c50cd85705eff3a34a7f534f5da5da01c20ade23 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NEQwOjhEMTAzOjExRDk4NEY6MTdENzIwOTo2OTZBRDQ0NCIsInZpc2l0b3JfaWQiOiI3NDA2MTE5Mjg2MzIyNDE4NzU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c8ba191c5e2ab250918a4a0030518843abd14ca8826fd3f5d22a01d801b0291d |
| hovercard-subject-tag | issue:208113763 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/techtonik/python-patch/49/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72c9e44fb894a1a56aa2873d5c84362ca025ed5db43944bd8707d4aa15908d59/techtonik/python-patch/issues/49 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72c9e44fb894a1a56aa2873d5c84362ca025ed5db43944bd8707d4aa15908d59/techtonik/python-patch/issues/49 |
| og:image:alt | Hi, I have created patches using let's say git format-patch -1 To apply the patch using regular patch command line I apply: patch -p1 < patch When trying to use instead patch.py I've tried patch.py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Trophime |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| go-import | github.com/techtonik/python-patch git https://github.com/techtonik/python-patch.git |
| octolytics-dimension-user_id | 515889 |
| octolytics-dimension-user_login | techtonik |
| octolytics-dimension-repository_id | 34159484 |
| octolytics-dimension-repository_nwo | techtonik/python-patch |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34159484 |
| octolytics-dimension-repository_network_root_nwo | techtonik/python-patch |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width