WinGit: Improve error handling and fix hard link creation
commit278e97934f0d5062b95dc3b4ecc57054d8df580a
authorSebastian Schuberth <sschuberth@visageimaging.com>
Tue, 18 Dec 2007 11:29:14 +0000 (18 12:29 +0100)
committerSebastian Schuberth <sschuberth@visageimaging.com>
Tue, 18 Dec 2007 11:29:14 +0000 (18 12:29 +0100)
tree999a8d4c9bc2f87b477fcd2adef133d022854815
parent0d7f418f2e224c6f6c1c5d1e09137a765e26be51
WinGit: Improve error handling and fix hard link creation

Several return values have not been checked so far, this has been fixed.
Moreover, all error message boxes now print the corresponding source code
line number.

Existing files are now deleted before a hard link with the same name is
created. This should fix some hard link creation errors reported to the mailing
list. If hard link creating fails, built-in aliases are now created as copies
as a fallback.
share/WinGit/install.iss