Skip to content

Make pull a builtin

Stephen Robin git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6merge: tidy up optionsbuiltin/merge.c+5 -50 replies
2/6merge: move error message given when a merge needs committing to advice.cadvice.c advice.h builtin/merge.c+11 -50 replies
3/6merge-base: split handle_fork_point to make reuse easierbuiltin.h builtin/merge-base.c+41 -250 replies
4/6pull: reimplement as a builtin in C.gitignore Makefile builtin.h +4 more+1336 -3420 replies
5/6pull: allow interactive rebaseDocumentation/config.txt Documentation/git-pull.txt builtin/pull.c +1 more+26 -61 reply
6/6parse-remote: dismantle git-parse-remote.sh.gitignore Documentation/git-parse-remote.txt Makefile +5 more+131 -1170 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchJohannes Schindelin
1/6
2/6
3/6
4/6
5/6Based-on-patch-by
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Make pull a builtin

Hi Paul,

Congratulations on getting your project accepted for GSOC. Here's my attempt at implementing pull as a builtin, maybe it will be of some use as you look to progress your version.

It's fairly complete in the sense that all the features of git-pull.sh should be implemented, the test suite passes, and I've been using it myself without issue. At the same time it's some way from finished as I've never had time to test it fully and there are parts of the code I'm not happy with.

Apologies for not sharing this with you earlier. I have been too busy with paid work to look at any open source projects for some months.

Good luck with your project!

Regards
Stephen

Stephen Robin (6):
merge: tidy up options
merge: move error message given when a merge needs committing to
advice.c
merge-base: split handle_fork_point to make reuse easier
pull: reimplement as a builtin in C
pull: allow interactive rebase
parse-remote: dismantle git-parse-remote.sh

 .gitignore                           |    2 -
 Documentation/config.txt             |    1 +
 Documentation/git-parse-remote.txt   |   23 -
 Documentation/git-pull.txt           |    4 +-
 Makefile                             |    3 +-
 advice.c                             |    9 +
 advice.h                             |    1 +
 builtin.h                            |    3 +
 builtin/merge-base.c                 |   64 ++-
 builtin/merge.c                      |   16 +-
 builtin/pull.c                       | 1006 ++++++++++++++++++++++++++++++++++
 builtin/remote.c                     |    8 +-
 command-list.txt                     |    1 -
 contrib/examples/git-parse-remote.sh |   89 +++
 contrib/examples/git-pull.sh         |  340 ++++++++++++
 git-parse-remote.sh                  |   89 ---
 git-pull.sh                          |  340 ------------
 git-rebase.sh                        |   36 +-
 git-submodule.sh                     |    8 +-
 git.c                                |    1 +
 20 files changed, 1547 insertions(+), 497 deletions(-)
 delete mode 100644 Documentation/git-parse-remote.txt
 create mode 100644 builtin/pull.c
 create mode 100644 contrib/examples/git-parse-remote.sh
 create mode 100755 contrib/examples/git-pull.sh
 delete mode 100644 git-parse-remote.sh
 delete mode 100755 git-pull.sh
Signature · 1 line
2.4.0.7.gf20f26f