Re: [RFC] origin link for cherry-pick and revert
- From
Stephen R. van den Berg <srb@cuci.nl>
- Date
- Sep 12, 2008, 16:43 UTC
- Message-ID
- <20080912164348.GC2915@cuci.nl>
- In-Reply-To
- <20080912161911.GA12096@coredump.intra.peff.net>
Jeff King wrote:
>On Fri, Sep 12, 2008 at 05:54:27PM +0200, Stephen R. van den Berg wrote:
>> True. But repopulating this cache after cloning means that you have to >> calculate the patch-id of *every* commit in the repository. It sounds >> like something to avoid, but maybe I'm overly concerned, I have only a >> vague idea on how computationally intensive this is.
>For a rough estimate, try:
> time git log -p | git patch-id >/dev/null
On my system that results in 2ms per commit on average. Not huge, but not small either, I guess. Running it results in real waiting time, it all depends on how patient the user is.
--
Sincerely,
Stephen R. van den Berg.
"Father's Day: Nine months before Mother's Day."