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

Re: stgit error on status command

From
Jon Smirl <jonsmirl@gmail.com>
Date
Jul 8, 2008, 12:06 UTC
Message-ID
<9e4733910807080506k6d51bc98h96a7a7b2bd56d98b@mail.gmail.com>
In-Reply-To
<20080708070254.GA4129@diana.vm.bytemark.co.uk>
On 7/8/08, Karl Hasselström <kha@treskal.com> wrote:
Show 7 quoted lines
> Thanks for the report.
>
>  The problem is that we mis-parse the output of git diff-index when
>  rename detection is on (and it prints more than one filename on one
>  line). This happens if you give stg status the --diff-opts=-M flag,
>  but you didn't -- but it could also happen if you have the
>  stgit.diff-opts config variable set.

I have -M in my config file. If I don't use people on lkml complain about renames generating piles of output in the patches. I'm able to work around the problem for the moment.

Show 10 quoted lines
>
>  I'll try to get a patch out tonight. In the mean time, if you like you
>  should be able to work around the problem by unsetting
>  stgit.diff-opts.
>
>
>  --
>  Karl Hasselström, kha@treskal.com
>       www.treskal.com/kalle
>
-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Karl HasselströmNext: Karl Hasselström
Message 3 of 6 in “stgit error on status command”
  1. Jon SmirlJul 7, 2008
  2. Karl HasselströmJul 8, 2008
  3. Jon SmirlJul 8, 2008
  4. Karl HasselströmJul 8, 2008
  5. stg status rename fix (safe+experimental)Karl Hasselström, Jul 8, 2008
  6. Test "stg status" with -M in stgit.diff-optsKarl Hasselström, Jul 8, 2008

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.