Subject: Re: [PATCH v2] Support "core.excludesfile = ~/.gitignore"

From: Johannes Sixt <[email-masked]>
Date: Tue, 26 Aug 2008 08:42:18 +0200

Karl Chen schrieb:
> +/*
> + * Expand ~ and ~user.  Returns a newly malloced string.  (If input does not
> + * start with "~", equivalent to xstrdup.)
> + */
> +static char *expand_userdir(const char *value) {

There is user_path() in path.c that does the same thing.

Watch your style: The opening brace of functions is on the next line.

-- Hannes