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: patch-diff.githubusercontent.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:52a4def5-1fd2-d416-4a38-1a2434a9ce39 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BECE:3CEA53:8F7966:CA0C9C:696E3AA4 |
| html-safe-nonce | da6f51471e16cce9fae1830d88d6652a76ea551a88358b23dc65f6673cb70dd8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUNFOjNDRUE1Mzo4Rjc5NjY6Q0EwQzlDOjY5NkUzQUE0IiwidmlzaXRvcl9pZCI6IjExOTIzMDU5NTI3NTMwNzI4MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3adbf0515e9a5e127db89e18a2ad128ee35307ffd0d3c7f984b401b43455ffb7 |
| 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 | b39958d54b39d52b9fc890ff25687d2383a83e003512d4480499b2dbd046839f |
| 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 | fba10be4ea34590240b2f4a625fc807362c2d5b8 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width