author | Matthieu Moy <Matthieu.Moy@imag.fr> | |
Thu, 7 Jan 2010 14:54:10 +0000 (15:54 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Jan 2010 23:48:24 +0000 (15:48 -0800) | ||
commit | a8c37a0e011d67e3192834a0fffe17452ea57a08 | |
tree | c05b70d3451f1b22a3eb076273bb3942616954d1 | tree | snapshot |
parent | 0def5b6ed4ffbc2cced3206acd6359178f7b8c5d | commit | 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>
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>
lockfile.c | diff | blob | history |