STGIT: stg import -s with a patch option
From: Jon Smirl <hidden>
Date: 2016-06-15 22:46:16
I picked up a patch with a series file that looks like this:
u-boot-our-toolchains.diff -p0
u-boot-no-tftp-in-flash.diff -p0
u-boot-do-not-repeat-erase.diff -p0
u-boot-do-not-repeat-cp.diff -p0
dhcp_no_autoload.diff -p0
cfi_bank_base_no_static.diff -p0
mpc52xx_i2c_do_not_printf.diff -p0
mpc5xxx_fec_init_phy.diff -p0
mpc5xxx_i2c_fix_speed.diff -p0
u-boot-phycore-mpc5200b-tiny.diff -p0
u-boot-phycore-mpc5200b-tiny-flash-EEPROM.diff -p0
u-boot-phycore-mpc5200b-tiny-ATA.diff -p0
u-boot-phycore-mpc5200b-printstack.diff -p0
u-boot-version.diff -p0
stg doesn't know how to pick up the -p0 and then run patch with -p0.
jonsmirl@terra:/home/apps/u-boot$ stg import -s patches/series
Checking for changes in the working directory ... done
stg import: [Errno 2] No such file or directory: '/home/apps/u-boot/patches/u
-boot-our-toolchains.diff -p0'
jonsmirl@terra:/home/apps/u-boot$ stg -v
Stacked GIT 0.14.3.343.g0584
git version 1.6.1.3
Python version 2.5.2 (r252:60911, Oct 5 2008, 19:29:17)
[GCC 4.3.2]
jonsmirl@terra:/home/apps/u-boot$
--
Jon Smirl
jonsmirl@gmail.com