diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2005-10-23 03:39:08 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-24 15:13:37 -0700 |
commit | 69779a562a171d9b70bbb17b89e076bd6b16ae6c (patch) | |
tree | e9ebb641ea568f725c77c08f1bc38f7679c58d7a /prune-packed.c | |
parent | git-upload-pack: Support sending multiple ACK messages (diff) | |
download | tgif-69779a562a171d9b70bbb17b89e076bd6b16ae6c.tar.xz |
git-fetch-pack: Do not use git-rev-list
The code used to call git-rev-list to enumerate the local revisions. A
disadvantage of that method was that git-rev-list, lacking a control apart
from the command line, would happily enumerate ancestors of acknowledged
common commits, which was just taking unnecessary bandwidth.
Therefore, do not use git-rev-list on the fetching side, but rather
construct the list on the go. Send the revisions starting from the local
heads, ignoring the revisions known to be common.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'prune-packed.c')
0 files changed, 0 insertions, 0 deletions