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

Re: Missing features in git

From
Karl Hasselström <kha@treskal.com>
Date
Nov 14, 2006, 15:39 UTC
Message-ID
<20061114153922.GA5453@diana.vm.bytemark.co.uk>
In-Reply-To
<20061114134958.5326.qmail@science.horizon.com>
On 2006-11-14 08:49:58 -0500, linux@horizon.com wrote:
Show 6 quoted lines
> One feature that I noticed is missing, is that there's no easy way
> to do a "git reset --hard" while doing a "git checkout" style merge.
>
> An example of when you'd want to do this is performing a "git
> bisect" with a local "#define DEBUG 1" change. Particularly if you
> hit a non-compiling version and need to back up.

Yes, this feature would be good to have. StGIT makes it a little less painful to hack around this limitation, but you still have to remember popping your patches before running "git bisect good|bad".

Then again, in StGIT's case this could be solved by creating an "stg bisect" command that takes care of this for you. But I still agree with you that it would be a win if regular git could do as you describe.

-- 
Karl Hasselström, kha@treskal.com
Previous: Junio C HamanoNext: Junio C Hamano
Message 11 of 12 in “Missing features in git”
  1. linux@horizon.comNov 14, 2006
  2. Jakub NarebskiNov 14, 2006
  3. Karl HasselströmNov 14, 2006
  4. Jakub NarebskiNov 14, 2006
  5. Karl HasselströmNov 14, 2006
  6. Jakub NarebskiNov 14, 2006
  7. Shawn PearceNov 14, 2006
  8. Linus TorvaldsNov 14, 2006
  9. Petr BaudisNov 14, 2006
  10. Junio C HamanoNov 14, 2006
  11. Karl HasselströmNov 14, 2006
  12. Junio C HamanoNov 14, 2006

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.