# STGIT: stg import -s with a patch option

2 messages from 2009-02-25 to 2009-02-25. Participants: Jon Smirl, Karl Hasselström.
Thread: https://gitlist.dev/t/18003

## Jon Smirl, 2009-02-25 00:28

Subject: STGIT: stg import -s with a patch option
Message-ID: <9e4733910902241628u5a2db3bhca37e9214668eb02@mail.gmail.com>
URL: https://gitlist.dev/e/9e4733910902241628u5a2db3bhca37e9214668eb02%40mail.gmail.com

```
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

```

## Karl Hasselström, 2009-02-25 09:58

Subject: Re: STGIT: stg import -s with a patch option
Message-ID: <20090225095827.GA16706@diana.vm.bytemark.co.uk>
URL: https://gitlist.dev/e/20090225095827.GA16706%40diana.vm.bytemark.co.uk
In-Reply-To: <9e4733910902241628u5a2db3bhca37e9214668eb02@mail.gmail.com>

```
On 2009-02-24 19:28:13 -0500, Jon Smirl wrote:

> stg doesn't know how to pick up the -p0 and then run patch with -p0.

I added this to the issue tracker: https://gna.org/task/index.php?6498

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

```
