commit | a8c37a0e011d67e3192834a0fffe17452ea57a08 | [log] [tgz] |
---|---|---|
author | Matthieu Moy <Matthieu.Moy@imag.fr> | Thu Jan 07 15:54:10 2010 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Jan 12 15:48:24 2010 -0800 |
tree | c05b70d3451f1b22a3eb076273bb3942616954d1 | |
parent | 0def5b6ed4ffbc2cced3206acd6359178f7b8c5d [diff] |
lockfile: show absolute filename in unable_to_lock_message When calling a git command from a subdirectory and a file locking fails, the user will get a path relative to the root of the worktree, which is invalid from the place where the command is ran. Make it easy for the user to know which file it is. Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>