[PATCH 0/2] Improve git-bundle builtin
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Dec 15, 2011, 16:45 UTC
- Message-ID
- <1323967528-10537-1-git-send-email-artagnon@gmail.com>
- In-Reply-To
- <20111208175913.GK2394@elie.hsd1.il.comcast.net>
Hi,
My OPT_SUBCOMMAND idea crashed and burned; I decided to salvage some of the work that went into improving the git-bundle builtin and put it into another series along with some additional tests. I hope this benefits people who use git-bundle to do incremental backups on their servers or otherwise.
A couple of thoughts:
1. There's a SP between the OBJID and the ref name in list-heads as opposed to the TAB used by other git commands such as ls-remote, diff-tree. Will fixing it break someone's parser somewhere?
2. Is it worth fixing the "--stdin" tests? What is the usecase? A quick blame points to f62e0a39 (t5704 (bundle): add tests for bundle --stdin, 2010-04-19): Jonathan, Joey?
Cheers.
-- Ram
Ramkumar Ramachandra (2): t5704 (bundle): rewrite for larger coverage bundle: rewrite builtin to use parse-options
builtin/bundle.c | 91 +++++++++++++++++++++++++++++--------------------- t/t5704-bundle.sh | 95 ++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 122 insertions(+), 64 deletions(-)
-- 1.7.4.1