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

[PATCH 0/9] Fix oversimplified optimization for add_cache_entry().

From
Junio C Hamano <junkio@cox.net>
Date
Jun 25, 2005, 09:16 UTC
Message-ID
<7vmzpe4x08.fsf_-_@assigned-by-dhcp.cox.net>
In-Reply-To
<7vaclf6tw7.fsf@assigned-by-dhcp.cox.net>
>>>>> "JCH" == Junio C Hamano <junkio@cox.net> writes:
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:

LT> I really don't want to do this. LT> Can you fix the "optimized" one instead?

JCH> Will do.

I have this list which logically consists of three sets. I am using the new "git rebase" to maintain it and your not taking my patch stream gave me a good opportunity to test it ;-).

  [PATCH 1/9] [RFC] fix date parsing for GIT raw commit timestamp format.
  [PATCH 2/9] git-commit-script: get commit message from an existing one.
  [PATCH 3/9] git-cherry: find commits not merged upstream.
  [PATCH 4/9] git-rebase-script: rebase local commits to new upstream head.

These four are updated "git rebase" I've written while on-road without knowing about your git-patch-id; the updated one uses git-patch-id to identify which are merged and which are not.

To carry earlier commit datetime forward, date.c needs to be fixed (PATCH 1/9, which I sent you separately Friday), and enhancing git-commit-script to be able to specify an existing commit to slurp the commit message (and author & date information) was necessary (well, not strictly necessary, but that is the way I am used to, which is stolen from JIT), which is PATCH 2/9. PATCH 3/9 and PATCH 4/9 use git-patch-id to implement the cherrypick/rebase.

  [PATCH 5/9] Add more tests for read-tree --emu23.
  [PATCH 6/9] git-merge-one-file-script: do not misinterpret rm failure
  [PATCH 7/9] Fix oversimplified optimization for add_cache_entry().

These three are reworked D/F conflict fix. PATCH 5/9 is the same demonstration of what is broken in the current code. The problem fixed by PATCH 6/9 was discovered while I was trying out the fixes. PATCH 7/9 teaches your "optimized" has_file/has_dir implementation to honor stages while they operate.

  [PATCH 8/9] http-pull: documentation updates.
  [PATCH 9/9] Add a bit of developer documentation to pull.h
These are resend.
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 19 in “D/F conflicts fixes.”
  1. 0/2 D/F conflicts fixes.Junio C Hamano, Jun 23, 2005
  2. 1/2 Add more tests for read-tree --emu23.Junio C Hamano, Jun 23, 2005
  3. 2/2 Fix oversimplified optimization for add_cache_entry().Junio C Hamano, Jun 24, 2005
  4. Linus TorvaldsJun 25, 2005
  5. Junio C HamanoJun 25, 2005
  6. 0/9 Fix oversimplified optimization for add_cache_entry().Junio C Hamano, Jun 25, 2005
  7. 1/9 fix date parsing for GIT raw commit timestamp format.Junio C Hamano, Jun 25, 2005
  8. 2/9 git-commit-script: get commit message from an existing one.Junio C Hamano, Jun 25, 2005
  9. 3/9 git-cherry: find commits not merged upstream.Junio C Hamano, Jun 25, 2005
  10. 4/9 git-rebase-script: rebase local commits to new upstream head.Junio C Hamano, Jun 25, 2005
  11. 5/9 Add more tests for read-tree --emu23.Junio C Hamano, Jun 25, 2005
  12. 6/9 git-merge-one-file-script: do not misinterpret rm failure.Junio C Hamano, Jun 25, 2005
  13. 7/9 Fix oversimplified optimization for add_cache_entry().Junio C Hamano, Jun 25, 2005
  14. 8/9 http-pull: documentation updates.Junio C Hamano, Jun 25, 2005
  15. 9/9 Add a bit of developer documentation to pull.hJunio C Hamano, Jun 25, 2005
  16. [RFD] consider "git" wrapper semi-PorcelainJunio C Hamano, Jun 26, 2005
  17. Linus TorvaldsJun 26, 2005
  18. Junio C HamanoJun 26, 2005
  19. Martijn KuipersJun 26, 2005

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.