HomePhabricator

Add untracked files to commit using prompt

Description

Add untracked files to commit using prompt

Summary:
Refs D11990. When using arc diff with untracked files in the working
copy, add the untracked file(s) to the commit (as they weren't stashed or
ignored). Add the untracked paths to the list of changes in the editor
template, indicating that the files were added to the commit.

This doesn't add a separate prompt to add untracked files as per the
behaviour prior to D11843.

Test Plan:
Ran arc diff with only untracked files, answered yes to the 'create
new commit' prompt. Saw the commit-message with the updated changes
including untracked files. Completed the arc template, and got commit
containing uncommitted, unstaged and untracked files.

Reviewers: epriestley, Blessed Reviewers

Reviewed By: epriestley, Blessed Reviewers

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11995

Details

Provenance
nevogdAuthored on
epriestleyCommitted on Mar 6 2015, 12:41 PM
epriestleyPushed on Mar 6 2015, 12:41 PM
Reviewer
Blessed Reviewers
Differential Revision
D11995: Add untracked files to commit using prompt
Parents
rARCc36b4ceb1849: Check for untracked files in order to fire untracked file prompt
Branches
Unknown
Tags
Unknown