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

Re: interactive rebase should better highlight the not-applying commit

From
Joshua N Pritikin <jpritikin@pobox.com>
Date
Oct 12, 2016, 17:02 UTC
Message-ID
<20161012170207.lapdv5h5aws4k4pw@droplet>
In-Reply-To
<alpine.DEB.2.20.1610121815160.197091@virtualbox>
On Wed, Oct 12, 2016 at 06:24:37PM +0200, Johannes Schindelin wrote:
> No, a false belief in your own shortcomings, as you thought it would be
> easier to address your wishes for somebody else than you.
Ah, shucks, I guess I could jump in.
> But maybe I read it all wrong and you do want to make this happen
> yourself, and you simply want a little advice how to go about it?

Ugh, if you insist. You really know how to hold someone's feet to the fire, eh?

Show 9 quoted lines
> > On Tue, Oct 11, 2016 at 02:25:19PM -0700, Stefan Beller wrote:
> > > On Tue, Oct 11, 2016 at 12:07 PM, Joshua N Pritikin <jpritikin@pobox.com> wrote:
> > > However IIUC currently rebase is completely rewritten/ported to C 
> > > where it is easier to add color support as we do have some color 
> > > support in there already.
> > 
> > Sounds great. Is there a beta release that I can try out?
> 
> There is no release as such, unless you count Git for Windows v2.10.0.
Nope, that doesn't count. ;-)
> But you can try the `interactive-rebase` branch of
> https://github.com/dscho/git; please note, though, that my main aim was to
> be as faithful as possible in the conversion (modulo speed, of course).
Hm OK
Show 7 quoted lines
> > Sometimes I do a rebase to fix some tiny thing 10-15 commits from HEAD.
> > Maybe only 1 file is affected and there are no merge conflicts, but when
> > rebase reapplies all the commits, the timestamps of lots of unmodified
> > files change even though they are unmodified compared to before the
> > rebase.
> 
> Well, they *were* modified, right?
Were they? Isn't that just an artefact of the implementation?
Show 5 quoted lines
> A workaround would be to create a new worktree using the awesome `git
> worktree` command, perform the rebase there (on an unnamed branch -- AKA
> "detached HEAD", no relation to Helloween), and then come back to the
> original worktree and reset --hard to the new revision. That reset would
> detect that there are actually no changes required to said files.

What would be the problem with doing this by default? Or could it be a configuration option that can be enabled?

-- 
Joshua N. Pritikin, Ph.D.
Virginia Institute for Psychiatric and Behavioral Genetics
Virginia Commonwealth University
PO Box 980126
800 E Leigh St, Biotech One, Suite 1-133
Richmond, VA 23219
http://people.virginia.edu/~jnp3bc
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 7 of 8 in “interactive rebase should better highlight the not-applying commit”
  1. Joshua N PritikinOct 11, 2016
  2. Stefan BellerOct 11, 2016
  3. Johannes SchindelinOct 12, 2016
  4. Stefan BellerOct 11, 2016
  5. Joshua N PritikinOct 12, 2016
  6. Johannes SchindelinOct 12, 2016
  7. Joshua N PritikinOct 12, 2016
  8. Johannes SchindelinOct 13, 2016

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.