Closed dbrock closed 14 years ago
Hmm, that's an odd issue, and the first I've heard of it. Looks like the problem lies with your older git version:
% git status
# On branch master
nothing to commit (working directory clean)
% echo $?
0
% git --version
git version 1.7.3
I haven't found any exact info about this on the web, but I saw lots of complaints about the old exit code behaviour that you're seeing...
Ah, that explains it. Makes sense. I'll just upgrade Git then. Thanks!
Thanks anyway for taking the time to investigate and patch the problem!
This prevents darcs-to-git from running. Deleting the invocation of ‘git status’ makes it work again. You may want to ignore the exit status of ‘git status’ if you want to keep the invocation.
Thanks for a great conversion script by the way! I really appreciated the well-written README file. :)