From: Derrick Stolee Date: Tue, 10 Apr 2018 12:56:07 +0000 (-0400) Subject: commit-graph: build graph from starting commits X-Git-Tag: v2.18.0-rc0~99^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/3d5df01b5e42416a59e857135e932bbdd8cc3ba0?ds=inline;hp=3d5df01b5e42416a59e857135e932bbdd8cc3ba0 commit-graph: build graph from starting commits Teach git-commit-graph to read commits from stdin when the --stdin-commits flag is specified. Commits reachable from these commits are added to the graph. This is a much faster way to construct the graph than inspecting all packed objects, but is restricted to known tips. For the Linux repository, 700,000+ commits were added to the graph file starting from 'master' in 7-9 seconds, depending on the number of packfiles in the repo (1, 24, or 120). Signed-off-by: Derrick Stolee Signed-off-by: Junio C Hamano ---