git/list[1] front-page[2] threads[3] people[4] search[5] about
 

STGIT: stg import -s with a patch option

From
Jon Smirl <jonsmirl@gmail.com>
Date
Feb 25, 2009, 00:28 UTC
Message-ID
<9e4733910902241628u5a2db3bhca37e9214668eb02@mail.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
Next: Karl Hasselström
Message 1 of 2 in “STGIT: stg import -s with a patch option”
  1. Jon SmirlFeb 25, 2009
  2. Karl HasselströmFeb 25, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.