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

Re: pull into dirty working tree

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 13, 2007, 23:32 UTC
Message-ID
<Pine.LNX.4.64.0706140030400.4059@racer.site>
In-Reply-To
<200706132217.57075.robin.rosenberg.lists@dewire.com>
Ho,
On Wed, 13 Jun 2007, Robin Rosenberg wrote:
Show 7 quoted lines
> A typical case I recognize is a few printfs or disabling a feature that 
> makes it harder to debug with no intentions whatsoever to commit them. 
> What we see when the tools more or less forces people to "temporarily" 
> commit stuff is that that stuff is often left there. "Oh, I forgot". 
> Gah.
> 
> Git has this ability when checking out, so why not on pull or merge?

You should hold your breath for git-stash. Now that Junio declared he'd work on it.

> With stacked git I typically create a new patch, then I can push it 
> whenever I want to have some more tracing.

My evil plan is to work git-stash into sort of a lightweight StGit. I never liked that dependency to Python, and I always felt that it must be simpler than that.

Ciao, Dscho

Previous: Robin Rosenberg
Message 8 of 8 in “Re: pull into dirty working tree”
  1. MichaelTiloDressel@t-online.deJun 13, 2007
  2. Bill LearJun 13, 2007
  3. Michael DresselJun 13, 2007
  4. Bill LearJun 13, 2007
  5. Johannes SchindelinJun 13, 2007
  6. Bill LearJun 13, 2007
  7. Robin RosenbergJun 13, 2007
  8. Johannes SchindelinJun 13, 2007

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.