]> khamidou — GitHub mirrors - arcanist.git/commit
Correctly detect uncommitted files in Git
authorepriestley <epriestley@phabricator.com>
Wed, 6 Apr 2011 02:27:05 +0000 (19:27 -0700)
committerepriestley <epriestley@phabricator.com>
Wed, 6 Apr 2011 04:08:55 +0000 (21:08 -0700)
commit1139eb1a733ae7e5631da83ff6d63483d8271d78
treeb1317ca7f6a67a965d315164510b66d22ab278b0
parent1dd69bdbee5c995594101bccc8aaaaa6c61e67fd
Correctly detect uncommitted files in Git

Summary:
I simplified this code at some point and broke it horribly
in the process. Mask in the right flag here and combine the maps
correctly. This solves the great mystery of increased developer
clowniness.

Test Plan:
Ran 'arc diff' in a working copy with staged but
uncommitted files, got an error message (previously, I didn't).

Reviewed By: aran
Reviewers: mroch, aran
CC: aran
Differential Revision: 104
src/repository/api/git/ArcanistGitAPI.php