From: Junio C Hamano Date: Mon, 01 Aug 2011 00:05:25 GMT Subject: Re: [PATCH v2] commit: allow partial commits with relative paths Message-ID: <7vei16kncq.fsf@alter.siamese.dyndns.org> In-Reply-To: <20110730171347.GA10432@toss.lan> Clemens Buchacher writes: > ... > But even if we cannot use the working directory as a prefix, we can > still figure out if there is a common prefix for all given paths, > and use that instead. The pathspec_prefix() routine from ls-files.c > does exactly that. > ... > Only the commit message changed in this v2. Looks sane; tests? Thanks.