{"thread":{"id":"6359","subject":"[BUG] a couple of stgit bugs","startedAt":"2007-01-12T22:52:16Z","lastAt":"2007-01-12T22:52:16Z","messageCount":1,"participants":["Yann Dirson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"31604","messageId":"20070112225216.GB9761@nan92-1-81-57-214-146.fbx.proxad.net","threadId":"6359","inReplyTo":null,"subject":"[BUG] a couple of stgit bugs","fromName":"Yann Dirson","fromEmail":"ydirson@altern.org","sentAt":"2007-01-12T22:52:16Z","receivedAt":"2007-01-12T22:52:16Z","isPatch":false,"sender":{"key":"ydirson@altern.org","avatar":"https://avatars.githubusercontent.com/u/1190950?v=4"},"body":"Here are another couple of (probably long-standing) bugs I noticed\ntoday on 0.11, but which still hold on current HEAD:\n\n- \"stg status <files>\" does not restrict output to listed files/dirs:\n\nyann/git/stgit$ ./stg status stgit/\n? contrib/stg-cvs.new\n? contrib/stg-cvs.orig\n? contrib/stg-cvs.rej\n? stgit/commands/pick.py.orig\n? stgit/stack.py.orig\n\n\n- \"stg refresh\" still does not work in subdir:\n\ngit/stgit/examples$ ../stg refresh\nChecking for changes in the working directory... done\nRefreshing patch \"test\"...error: examples/examples/gitconfig: does not exist and --remove not passed\nfatal: Unable to process file examples/gitconfig\nstg refresh: Failed git-update-index\n\nTraceback (most recent call last):\n  File \"../stg\", line 43, in ?\n    main()\n  File \"/export/work/yann/git/stgit/stgit/main.py\", line 262, in main\n    command.func(parser, options, args)\n  File \"/export/work/yann/git/stgit/stgit/commands/refresh.py\", line 145, in func\n    backup = True, sign_str = sign_str)\n  File \"/export/work/yann/git/stgit/stgit/stack.py\", line 667, in refresh_patch\n    committer_email = committer_email)\n  File \"/export/work/yann/git/stgit/stgit/git.py\", line 540, in commit\n    changes = update_cache(files)\n  File \"/export/work/yann/git/stgit/stgit/git.py\", line 523, in update_cache\n    raise GitException, 'Failed git-update-index'\nstgit.git.GitException: Failed git-update-index\n\nBest regards,\n-- \nYann.\n"}]}