Skip to content

Commit

Permalink
Fixed incorrect git uri ref for untracked files
Browse files Browse the repository at this point in the history
  • Loading branch information
OneThatWalks committed Aug 9, 2019
1 parent b93c4fa commit 74a0865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/git/src/commands.ts
Expand Up @@ -353,11 +353,11 @@ export class CommandCenter {
switch (resource.type) {
case Status.INDEX_MODIFIED:
case Status.INDEX_RENAMED:
case Status.UNTRACKED:
case Status.INDEX_ADDED:
return this.getURI(resource.original, 'HEAD');

case Status.MODIFIED:
case Status.UNTRACKED:
return this.getURI(resource.resourceUri, '~');

case Status.DELETED_BY_THEM:
Expand Down

0 comments on commit 74a0865

Please sign in to comment.