chiark / gitweb /
dgit: Handle EXDEV when saving origs
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2018 23:19:41 +0000 (00:19 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2018 23:58:26 +0000 (00:58 +0100)
commit0f37a4cac41ca7dc266b9e9af877f0d6a6e49b01
tree3292eba545165977a3bbbb6ffd69d76081d6b857
parent32c22f0a584874d61ff1697cd63b2f8eba8b75ab
dgit: Handle EXDEV when saving origs

Replace two link calls with rename_link_xf, and change the subsequent
error handling to use $@ iff appropriate.

Part of the fix to #910730.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit