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

Re: Issue with git rebase

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Sep 14, 2010, 12:43 UTC
Message-ID
<AANLkTikA7WpyiZCq43+vdUBri5X9pi3odkfRYd4jMXwR@mail.gmail.com>
In-Reply-To
<AANLkTikUE1q-MrOsc3QOc1x0UHdLJn6nf7yGJZ=q_qqP@mail.gmail.com>
On Tue, Sep 14, 2010 at 12:39, Rob Aldred <raldred@gmail.com> wrote:
Show 17 quoted lines
> Hey, I have a problem with rebase which i suspect is not very common
> I'm trying to repair a commit where over 100,000 lines including a
> diff were commited to the commit message.
> I have followed the manual here: http://bit.ly/9uVReJ
> That produces an error when it reaches the bad commit, heres the output:
>
>    First, rewinding head to replay your work on top of it...
>    Applying: fixes #2791 - added page count back in
>    Applying: fixes #2399 - commenting out code for starting and
> restarting solr/sunspot on production sites
>    Applying: fixes #2361 - all selenium features now pass
>    Applying: fixes #2797 - fixed checkout footer
>    Applying: Implementing cartridge chooser wizard, Showing featured
> products on the homepage and improving the printer inks page
>     .......the rest of the massive 100000+ line commit message......
>    /usr/local/git/libexec/git-core/git-am: line 765:
> /usr/local/git/libexec/git-core/git: Argument list too long
What version of Git is this, and what does it have on git-am line 765?
How does it look under GIT_TRACE=1 ?

In cases like these you can extend the maximum argument list that the OS can take as a workaround.

Previous: Rob AldredNext: Rob Aldred
Message 2 of 3 in “Issue with git rebase”
  1. Rob AldredSep 14, 2010
  2. Ævar Arnfjörð BjarmasonSep 14, 2010
  3. Rob AldredSep 14, 2010

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.