Skip to content

http-push: fix fetching

Tay Ray Chuan git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3http-push: append slash if possible for directoriessrc/git-1.6.1/http-push.c+0 -04 replies
1/3t5540-http-push: test fetching of loose objectst/t5540-http-push.sh+16 -00 replies
1/3http*: add helper methods for fetching packshttp-push.c http-walker.c http.c +1 more+165 -1450 replies
1/3http.c: free preq when abortinghttp.c+1 -00 replies
2/3http-push: when sending objects, don't PUT before MOVEsrc/git-1.6.1/http-push.c+0 -332 replies
2/3t5540-http-push: test fetching of packed objectst/t5540-http-push.sh+20 -00 replies
2/3http*: add helper methods for fetching objects/info/packshttp-push.c http-walker.c http.c +1 more+114 -810 replies
3/3http-push: update testssrc/git-1.6.1/t/t5540-http-push.sh+3 -49 replies
3/3http-push: send out fetch requests on queuehttp-push.c t/t5540-http-push.sh+28 -1314 replies
3/3http*: add helper methods for fetching objects (loose)http-push.c http-walker.c http.c +1 more+336 -4290 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/3] teach git-checkout -B WAS builtin/checkout: DWIM with -f -b

Right now, the -f/--force in git-checkout doesn't carry over to -b operations - ie. you can't do git checkout -b branch on an existing branch.

This patch allows you to do this with the -B option, so that one can do

git checkout -B branch ref

which is equivalent to

git branch -f branch ref && git checkout branch

Contents:
[PATCH 1/3] add tests for checkout -b
[PATCH 2/3] builtin/checkout: change -b from an OPTION_STRING to a OPTION_SET_INT [PATCH 3/3] builtin/checkout: learn -B

Tay Ray Chuan (3):
add tests for checkout -b
builtin/checkout: change -b from an OPTION_STRING to a OPTION_SET_INT builtin/checkout: learn -B

 Documentation/git-checkout.txt |   15 +++-
 builtin/checkout.c             |   46 +++++++----
 t/t2018-checkout-branch.sh     |  166 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 209 insertions(+), 18 deletions(-)
 create mode 100755 t/t2018-checkout-branch.sh