From: Johannes Schindelin Date: Fri, 28 Oct 2005 02:46:27 +0000 (+0200) Subject: Subject: [PATCH] git-fetch-pack: Do not use git-rev-list X-Git-Tag: v0.99.9~14 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/23d61f8343282643c830e1c446962b213dbcc09a?hp=23d61f8343282643c830e1c446962b213dbcc09a Subject: [PATCH] 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 Signed-off-by: Junio C Hamano ---