Re: [PATCH] merge-file: correctly open files when in a subdir

2015-02-09 Thread Duy Nguyen
On Sun, Feb 8, 2015 at 11:53 PM, Aleksander Boruch-Gruszecki aleksander.boruchgrusze...@gmail.com wrote: run_setup_gently() is called before merge-file. This may result in changing current working directory, which wasn't taken into account when opening a file for writing. Fix by prepending

[PATCH] merge-file: correctly open files when in a subdir

2015-02-08 Thread Aleksander Boruch-Gruszecki
run_setup_gently() is called before merge-file. This may result in changing current working directory, which wasn't taken into account when opening a file for writing. Fix by prepending the passed prefix. Previous var is left so that error messages keep referring to the file from the user's