Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/git-shell-out-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export default class GitShellOutStrategy {
* File Status and Diffs
*/
async getStatusesForChangedFiles() {
const output = await this.exec(['status', '--untracked-files=all', '-z'], {writeOperation: true});
const output = await this.exec(['status', '--untracked-files=all', '-z']);

const statusMap = {
'A': 'added',
Expand Down Expand Up @@ -392,7 +392,7 @@ export default class GitShellOutStrategy {

async isPartiallyStaged(filePath) {
const args = ['status', '--short', '--', filePath];
const output = await this.exec(args, {writeOperation: true});
const output = await this.exec(args);
const results = output.trim().split(LINE_ENDING_REGEX);
if (results.length === 2) {
return true;
Expand Down