Skip to content

Commit bca835e

Browse files
authored
Merge pull request #519 from jupyterlab/list-untracked-files
List all untracked files
2 parents 1c3d20e + 93270f7 commit bca835e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyterlab_git/git.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def status(self, current_path):
204204
Execute git status command & return the result.
205205
"""
206206
p = Popen(
207-
["git", "status", "--porcelain"],
207+
["git", "status", "--porcelain", "-u"],
208208
stdout=PIPE,
209209
stderr=PIPE,
210210
cwd=os.path.join(self.root_dir, current_path),
@@ -232,7 +232,7 @@ def status(self, current_path):
232232
else:
233233
return {
234234
"code": p.returncode,
235-
"command": "git status --porcelain",
235+
"command": "git status --porcelain -u",
236236
"message": my_error.decode("utf-8"),
237237
}
238238

0 commit comments

Comments
 (0)