Re: [PATCH v2 3/3] git-mergetool--lib: Make vimdiff retain the current directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 25, 2011 at 8:37 PM, David Aguilar <davvid@xxxxxxxxx> wrote:
> +
> +resolve_git_prefix() {
> + Â Â Â # If GIT_PREFIX is empty then we cannot use it in tools
> + Â Â Â # that expect to be able to chdir() to its value.
> + Â Â Â if test -z "$GIT_PREFIX"; then
> + Â Â Â Â Â Â Â GIT_PREFIX=.
> + Â Â Â Â Â Â Â export GIT_PREFIX
> + Â Â Â fi
> +}

Oops, I forgot to replace the function call with : GIT_PREFIX=${GIT_PREFIX:-.}
-- 
  David
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]