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

[BUG] a couple of stgit bugs

From
Yann Dirson <ydirson@altern.org>
Date
Jan 12, 2007, 22:52 UTC
Message-ID
<20070112225216.GB9761@nan92-1-81-57-214-146.fbx.proxad.net>

Here are another couple of (probably long-standing) bugs I noticed today on 0.11, but which still hold on current HEAD:

- "stg status <files>" does not restrict output to listed files/dirs:

yann/git/stgit$ ./stg status stgit/ ? contrib/stg-cvs.new ? contrib/stg-cvs.orig ? contrib/stg-cvs.rej ? stgit/commands/pick.py.orig ? stgit/stack.py.orig

- "stg refresh" still does not work in subdir:

git/stgit/examples$ ../stg refresh Checking for changes in the working directory... done Refreshing patch "test"...error: examples/examples/gitconfig: does not exist and --remove not passed fatal: Unable to process file examples/gitconfig stg refresh: Failed git-update-index

Traceback (most recent call last):
  File "../stg", line 43, in ?
    main()
  File "/export/work/yann/git/stgit/stgit/main.py", line 262, in main
    command.func(parser, options, args)
  File "/export/work/yann/git/stgit/stgit/commands/refresh.py", line 145, in func
    backup = True, sign_str = sign_str)
  File "/export/work/yann/git/stgit/stgit/stack.py", line 667, in refresh_patch
    committer_email = committer_email)
  File "/export/work/yann/git/stgit/stgit/git.py", line 540, in commit
    changes = update_cache(files)
  File "/export/work/yann/git/stgit/stgit/git.py", line 523, in update_cache
    raise GitException, 'Failed git-update-index'
stgit.git.GitException: Failed git-update-index
Best regards,
-- 
Yann.
Message 1 of 1 in “[BUG] a couple of stgit bugs”
  1. Yann DirsonJan 12, 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.