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

Re: git interactive rebase bug?

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Oct 6, 2015, 06:53 UTC
Message-ID
<vpq37xopjwh.fsf@grenoble-inp.fr>
In-Reply-To
<CA+P7+xqMFFtVPnZ7Pw9B9oYXHe5N=Ectyd-M+_aGb2NKjRvLAg@mail.gmail.com>
Jacob Keller <jacob.keller@gmail.com> writes:
Show 6 quoted lines
> I've been experiencing a very annoying bug when performing interactive
> rebases. The rebase process will stall after I close the editor, and I
> have to kill the process and then restart the rebase using "git rebase
> --continue"
>
> I am not sure how to debug this further. Suggestions are welcome.
First, I'd try "pstree" ("pstree -p" to get pid) to see if your editor is really dead.

Then, "strace -p" on the git process, to see if it's doing some system calls while hanged, or if it's hanged on a particular syscall. Hopefully, this will yield some "open" calls and tell you which files Git is currently working with.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Jacob KellerNext: Jacob Keller
Message 5 of 6 in “git interactive rebase bug?”
  1. Jacob KellerOct 5, 2015
  2. Jacob KellerOct 5, 2015
  3. Junio C HamanoOct 5, 2015
  4. Jacob KellerOct 6, 2015
  5. Matthieu MoyOct 6, 2015
  6. Jacob KellerOct 6, 2015

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.