[PATCH 0/5] Builtin "git remote"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series puts a few building blocks in place (the first three
patches), builds in "git remote", and fixes the current behaviour of
"git remote prune" when the remote was initialized with --mirror.

It incorporates Hannes Sixt's comments about checking remote_nr.

Oh, and in contrast to the earlier series, I removed the DWIM "git add
remote" patch.

It also demonstrates that format-patch --cover-letter should default to -M
for the diffstat (search for "git-remote.perl"...).

Johannes Schindelin (5):
      path-list: add functions to work with unsorted lists
      parseopt: add flag to stop on first non option
      Test "git remote show" and "git remote prune"
      Make git-remote a builtin
      builtin-remote: prune remotes correctly that were added with --mirror

 Makefile                         |    3 +-
 builtin-remote.c                 |  557 ++++++++++++++++++++++++++++++++++++++
 builtin.h                        |    1 +
 contrib/examples/git-remote.perl |  477 ++++++++++++++++++++++++++++++++
 git-remote.perl                  |  477 --------------------------------
 git.c                            |    1 +
 parse-options.c                  |    2 +
 parse-options.h                  |    1 +
 path-list.c                      |   30 ++
 path-list.h                      |    8 +-
 remote.c                         |    3 +-
 remote.h                         |    1 +
 t/t5505-remote.sh                |   50 ++++
 13 files changed, 1131 insertions(+), 480 deletions(-)
 create mode 100644 builtin-remote.c
 create mode 100755 contrib/examples/git-remote.perl
 delete mode 100755 git-remote.perl

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux