google / pull-request-mailer

Sends a GitHub pull request as a patch series via email
BSD 3-Clause "New" or "Revised" License
44 stars 15 forks source link

Server: Fork before clone. Fixes #6. #10

Closed nh2 closed 10 years ago

nh2 commented 10 years ago

We cd into the cloned directory, which is fine for the command line utility, but not for the server (its process should stay in the same directory).

Without this, we get, we get fatal: Could not get current working directory: No such file or directory because we delete the temporary directories and so the server lost its cwd.

nh2 commented 10 years ago

review @ppetr

ppetr commented 10 years ago

LGTM