Subject: Re: [RFC/PATCH] lockfile: show absolute filename in unable_to_lock_message.

From: Johannes Sixt <[email-masked]>
Date: Wed, 06 Jan 2010 19:50:18 +0100

Matthieu Moy schrieb:
> -		    path, strerror(err));
> +			    make_absolute_path(path), strerror(err));
>  	} else
> -		strbuf_addf(&buf, "Unable to create '%s.lock': %s", path, strerror(err));
> +		strbuf_addf(&buf, "Unable to create '%s.lock': %s",
> +			    make_absolute_path(path), strerror(err));

Since these are merely informative, wouldn't it be more suitable to use 
make_nonrelative_path()?

-- Hannes