Hi, It seems that emacsclient and emacsclientw always exit with code 1 even though there is no error that I can see. This causes problems with at least one program (git) that invokes editor and believes that it couldn't execute it successfully because of the exit code.
Tested with EmacsW32 23.0.60.1 (i386-mingw-nt5.1.2600) 2009-01-12 (patched) on 32bit Windows XP SP3. I'm pretty sure the problem did not occur with EmacsW32 22.0.990.1 2007-05-23. -- Hannu