Skip to content

Fix oversimplified optimization for add_cache_entry().

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9fix date parsing for GIT raw commit timestamp format.date.c+9 -50 replies
2/9git-commit-script: get commit message from an existing one.git-commit-script+67 -80 replies
3/9git-cherry: find commits not merged upstream.Makefile git-cherry+87 -10 replies
4/9git-rebase-script: rebase local commits to new upstream head.Makefile git-rebase-script+50 -10 replies
5/9Add more tests for read-tree --emu23.t/t1001-read-tree-m-2way.sh t/t1005-read-tree-m-2way-emu23.sh+150 -140 replies
6/9git-merge-one-file-script: do not misinterpret rm failure.git-merge-one-file-script+5 -20 replies
7/9Fix oversimplified optimization for add_cache_entry().cache.h read-cache.c t/t1005-read-tree-m-2way-emu23.sh +1 more+43 -170 replies
8/9http-pull: documentation updates.Documentation/git-http-pull.txt+4 -20 replies
9/9Add a bit of developer documentation to pull.hpull.h+15 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] Fix oversimplified optimization for add_cache_entry().
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

"JCH" == Junio C Hamano <[email protected]> writes:

"LT" == Linus Torvalds <[email protected]> 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.