ALIGMSTEN Posted December 12, 2022 Share Posted December 12, 2022 Hello, using mk_format_patch and for <LOCAL GIT URL> am getting bad url its NOT git git config [remote "origin"] physical look up or and any of git remote show origin - git remote -v etc will give the url if you dont know it already. Any suggestions configuring the url for mk_format_patch 0 Quote Link to comment Share on other sites More sharing options...
going Posted December 13, 2022 Share Posted December 13, 2022 15 часов назад, ALIGMSTEN сказал: Any suggestions configuring the url for mk_format_patch Hello Alistair. leo@localhost:/1.8T/gituser/armbian-build> url="cache/sources/linux-mainline/6.1" leo@localhost:/1.8T/gituser/armbian-build> mkdir -p ~/tmp/test/patches.test leo@localhost:/1.8T/gituser/armbian-build> tdir="/home/leo/tmp/test/patches.test" leo@localhost:/1.8T/gituser/armbian-build> tools/mk_format_patch $url mego-6.1..HEAD "$tdir" LOCAL GIT URL =: [/1.8T/gituser/armbian-build/cache/sources/linux-mainline/6.1] revision range =: [mego-6.1..HEAD] target folder for patches =: [/home/leo/tmp/test/patches.test] prefix =: [] numbered =: [false] It's generate format-patch: In tmp folder: /tmp/format_patch_lD9TFyE All generated patches: [7] Good patches: [7] leo@localhost:/1.8T/gituser/armbian-build> tree /home/leo/tmp/test/ /home/leo/tmp/test/ ├── patches.test │ ├── Doc-dt-bindings-usb-add-binding-for-DWC3-controller-on-Allwinne.patch │ ├── drv-bluetooth-btrtl-Add-rtl8822cs-hci-ver-0008.patch │ ├── drv-mfd-Add-support-for-AC200.patch │ ├── drv-net-phy-Add-support-for-AC200-EPHY.patch │ ├── drv-pinctrl-pinctrl-sun50i-a64-disable_strict_mode.patch │ ├── drv-rtc-sun6i-support-RTCs-without-external-LOSCs.patch │ └── Revert-net-Remove-net-ipx.h-and-uapi-linux-ipx.h-header-files.patch └── series.test 1 directory, 8 files revision range =: [mego-6.1..HEAD] After I applied all the "megous" patches, at the top of the story I made the tag "mego-6.1". Now you can see at what stage my work is today. Specify the full, absolute paths and everything will work. 0 Quote Link to comment Share on other sites More sharing options...
ALIGMSTEN Posted December 13, 2022 Author Share Posted December 13, 2022 Highly appreciated Leo, thank you. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.