Re: [PATCH v2] Support "core.excludesfile = ~/.gitignore"
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Aug 26, 2008, 06:42 UTC
- Message-ID
- <48B3A5CA.6090201@viscovery.net>
- In-Reply-To
- <quack.20080825T1207.lthk5e46hi4_-_@roar.cs.berkeley.edu>
Karl Chen schrieb:
Show 5 quoted lines
> +/*
> + * 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