A bit better dumb server support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | show-diff.c: clean up private buffer use.show-diff.c | +6 | 0 replies | |
| 1/6 | git-peek-remote: show tags and heads from a remote repository.Makefile peek-remote.c | +57 | 0 replies | |
| 1/6 | blame.c: whitespace and formatting clean-up.blame.c | +100 | 0 replies | |
| 1/6 | Allow in_merge_bases() to take more than one reference commits.builtin-branch.c builtin-reflog.c commit.c +1 more | +10 | 0 replies | |
| 2/6 | show-diff.c: check unreadbale blob.show-diff.c | +10 | 0 replies | |
| 2/6 | Documentation: git-peek-remote.Documentation/ Documentation/ | +59 | 0 replies | |
| 2/6 | git-blame: --show-name (and -f)blame.c | +9 | 0 replies | |
| 2/6 | merge_base(): move traversal into a separate function.commit.c | +22 | 0 replies | |
| 3/6 | show-diff.c: simplify show_diff_empty.show-diff.c | +10 | 0 replies | |
| 3/6 | git-ls-remote: show and optionally store remote refs.Makefile git-ls-remote-script | +106 | 0 replies | |
| 3/6 | git-blame: --show-number (and -n)blame.c | +38 | 0 replies | |
| 3/6 | git-merge-base: --check-ancestry optionDocumentation/ merge-base.c | +49 | 0 replies | |
| 4/6 | show-diff.c: adjust default format for the Linux kernel.show-diff.c | +4 | 0 replies | |
| 4/6 | Add update-server-info.Makefile build-rev-cache.c cache.h +6 more | +1025 | 0 replies | |
| 4/6 | in_merge_bases(): optimizationcommit.c | +34 | 0 replies | |
| 5/6 | show-diff.c: make diff options customizable.show-diff.c | +25 | 0 replies | |
| 5/6 | Document update-server-info.Documentation/ Documentation/ | +46 | 0 replies | |
| 5/6 | git-blame --porcelainblame.c | +127 | 2 replies | |
| 5/6 | Make merge-base a built-in.Makefile builtin-merge-base.c builtin.h +2 more | +90 | 2 replies | |
| 6/6 | show-diff.c: -R option for reverse diff.show-diff.c | +13 | 0 replies | |
| 6/6 | Support cloning packed repo from dumb http servers.Makefile git-clone-dumb-http git-clone-script | +63 | 0 replies | |
| 6/6 | gitweb: use blame --porcelaingitweb/ | +44 | 2 replies | |
| 6/6 | Teach "git-merge-base --check-ancestry" about refs.Documentation/ builtin-merge-base.c | +44 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Expose in_merge_bases() via merge-base.
Quoted 11 lines · Junio C Hamano
Quoted 8 lines · Shawn O. Pearce
The common case is probably going to be where the argument to
git checkoutis a fast-foward of the detached HEAD. And that's pretty cheap to check. So we perform that check, and if we fail that then we search through every ref to determine if the detached HEAD is fully contained in any of those. Currently that would be pretty slow to do with the current tools, but a small modification of say git-merge-base (or git-describe) might make it cheap enough to run during this slightly less common case.
Quoted 2 lines
The needed change to merge-base is quite minimum. Let me come up with a patch...
[PATCH 1/6] Allow in_merge_bases() to take more than one reference commits. [PATCH 2/6] merge_base(): move traversal into a separate function. [PATCH 3/6] git-merge-base: --check-ancestry option
[PATCH 4/6] in_merge_bases(): optimization
[PATCH 5/6] Make merge-base a built-in.
[PATCH 6/6] Teach "git-merge-base --check-ancestry" about refs.