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

StGIT 0.12.1: pulling up to specific commit (tag)

From
ABAndrey Borzenkov <arvidjaar@mail.ru>
Date
Mar 8, 2007, 08:23 UTC
Message-ID
<200703081123.09281.arvidjaar@mail.ru>
After update to 0.12 I am a bit lost how to do it.

I have local branch for kernel tree that contains several patches. I do not want this tree to be up-to-date with the latest commits upstream, rather I need it on (sub-)version basis. But there is apparently no way to say in stgit "please pull up to specific commit".

What I did before 0.12 was

git branch b2.6.21-rc3 v2.6.21-rc3 stg pull . b2.6.21-rc3

Now "stg pull" no more accepts branch name; but I cannot figure how to to the same using git config. I have:

branch.cooker.merge=stgit branch.cooker.remote=stgit

then I do

git branch stgit v2.6.21-rc3 stg pull .

This always results in "up to date" message and nothing is actually merged in current branch. But if I do

stg pop -a git pull . stgit

then changes *are* merged as expected

So for now I have a workaround, but it is rather awkward. May be I am doing it the wrong way and I should just do "stg pull; git reset" but I had bad experience with mixing stgit and git tree/index manipulation commands in the past.

TIA
-andrey
Message 1 of 1 in “StGIT 0.12.1: pulling up to specific commit (tag)”
  1. Andrey BorzenkovMar 8, 2007

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.