Re: [PATCH v2 00/45] parse_pathspec and :(glob) magic
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Mar 24, 2013, 00:57 UTC
- Message-ID
- <CAPig+cT+MgTmhqUXpSGEtiqjgerFA6asUMg7wg=-Vee85MVKoQ@mail.gmail.com>
- In-Reply-To
- <20130323031334.GA10484@lanh>
On Fri, Mar 22, 2013 at 11:13 PM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 13 quoted lines
> diff --git a/setup.c b/setup.c > index e59146b..6cf2bc6 100644 > --- a/setup.c > +++ b/setup.c > @@ -5,24 +5,37 @@ > static int inside_git_dir = -1; > static int inside_work_tree = -1; > > -char *prefix_path_gently(const char *prefix, int *p_len, const char *path) > +/* > + * Normalize "path", prepending the "prefix" for relative paths. If > + * remaining_prefix is not NULL, return the actual prefix still > + * remains in the path. For example, prefix = sub1/sub2/ and path is
s/still remains/still remaining/ ...or... s/still remains/which still remains/ ...or... s/still remains/which remains/