{"thread":{"id":"37965","subject":"Git merge-file doesn't account correctly for not being in repo root","startedAt":"2014-11-14T17:06:07Z","lastAt":"2014-11-14T17:06:07Z","messageCount":1,"participants":["Aleksander Boruch-Gruszecki"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"251890","messageId":"CAOiM-0UinUshK83MHbTcTj1VwrN1b-NnAv9NJYkphckZLiSXug@mail.gmail.com","threadId":"37965","inReplyTo":null,"subject":"Git merge-file doesn't account correctly for not being in repo root","fromName":"Aleksander Boruch-Gruszecki","fromEmail":"aleksander.boruch-gruszecki@bright-it.com","sentAt":"2014-11-14T17:06:07Z","receivedAt":"2014-11-14T17:06:07Z","isPatch":false,"sender":{"key":"aleksander.boruch-gruszecki@bright-it.com","avatar":null},"body":"Git merge-file works correctly when reading files, but when trying to\nwrite to them, it doesn't prepend current working directory. I've\nattached a basic example - running \"git merge-file file1 file file2\"\nfrom inside sample dir will \"fail\" silently and write to file1 in repo\nroot. Running git merge-file from the same dir referencing files\ninside deeper-sample will fail with message \"error: Could not open\ndeeper-sample/file1 for writing\".\n"}]}