summaryrefslogtreecommitdiff
path: root/builtin-rm.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@shadowen.org>2006-09-05 22:52:12 +0100
committerJunio C Hamano <junkio@cox.net>2006-09-07 02:44:25 -0700
commitc727fe2afcb86195d72136b4b3ba4b5fea5514d5 (patch)
treea300e24cbc42ff904941465ff5d5af97688a69fc /builtin-rm.c
parent7bbf88c52b202d543310123e1bad9a44b2d6f028 (diff)
downloadgit-c727fe2afcb86195d72136b4b3ba4b5fea5514d5.tar.gz
send-pack: switch to using git-rev-list --stdin
When we are generating packs to update remote repositories we want to supply as much information as possible about the revisions that already exist to rev-list in order optimise the pack as much as possible. We need to pass two revisions for each branch we are updating in the remote repository and one for each additional branch. Where the remote repository has numerous branches we can run out of command line space to pass them. Utilise the git-rev-list --stdin mode to allow unlimited numbers of revision constraints. This allows us to move back to the much simpler unordered revision selection code. [jc: added some comments in the code to describe the pipe flow a bit.] Signed-off-by: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-rm.c')
0 files changed, 0 insertions, 0 deletions