From: David Aguilar Date: Fri, 9 Dec 2016 08:58:47 +0000 (-0800) Subject: difftool: chdir as early as possible X-Git-Tag: v2.11.1~39^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f242a03d7330a68baf0748e595c0b2290d3a05a5?ds=inline;hp=f242a03d7330a68baf0748e595c0b2290d3a05a5 difftool: chdir as early as possible Make difftool chdir to the top-level of the repository as soon as it can so that we can simplify how paths are handled. Replace construction of absolute paths via string concatenation with relative paths wherever possible. The bulk of the code no longer needs to use absolute paths. Signed-off-by: David Aguilar Signed-off-by: Junio C Hamano ---