]> khamidou — GitHub mirrors - arcanist.git/commit
Using a temp file for git commit --amend instead of passing multi-line message to...
authorMarke Hallowell <indiefan@gmail.com>
Wed, 2 May 2012 19:39:12 +0000 (12:39 -0700)
committerepriestley <git@epriestley.com>
Wed, 2 May 2012 19:39:46 +0000 (12:39 -0700)
commit9a718f210acb74a87ee31ba7a32feb3110658a57
treec33b9fc79db5243c7114d9a8d03b2f68e23afe4f
parent50c23e8ee4586f18bb7ddad6c0485a3bbab5936e
Using a temp file for git commit --amend instead of passing multi-line message to the shell. Avoids escaping issue on windows.

Test Plan: Run arc diff locally, verify via git log that the commit is amended afterwards (using the mutable history paradigm)

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin
Differential Revision: https://secure.phabricator.com/D2369
src/repository/api/git/ArcanistGitAPI.php
src/repository/api/git/__init__.php