From: Duy Nguyen Date: Thu, 05 Mar 2015 00:26:43 GMT Subject: Re: [RFH] GSoC 2015 application Message-ID: In-Reply-To: On Thu, Mar 5, 2015 at 6:55 AM, Stefan Beller wrote: > On Wed, Mar 4, 2015 at 2:05 PM, Philip Oakley wrote: > >> A possible idea is to add a date based variant of shallow clone : >> >> 'git clone --date ...' >> >> in the same vein as the existing depth (shallow) clone. > > As food for thought: > Maybe broaden this further up to the git-ish way of describing refs, so > > git clone --since 2.weeks.ago > git clone --since v2.10 > git clone --since c0ffee^^ > > would all equally work? Yes, and we could generalize it further: add shallow-rev-list capability and send "shallow-rev-list " line to define shallow boundary. The protocol change would be simple enough. The hard part is select a safe subset of rev-list options that can be used in this mode and reject the rest. > I am not sure if that is feasible though, but it would come in handy. (E.g. > you are an end user and want to bisect down a bug which you notice in the > new version X but not in old version Y, so you start on getting the sources, > compiling, bisecting) -- Duy