ソースを参照

Fixes #153 - untracked folder files don't show properly

main
Eric Amodio 7年前
コミット
b56d101f76
2個のファイルの変更4行の追加1行の削除
  1. +3
    -0
      CHANGELOG.md
  2. +1
    -1
      src/git/git.ts

+ 3
- 0
CHANGELOG.md ファイルの表示

@ -18,6 +18,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Changed
- Changes `${path}` token to be the full file path in the file formatting settings
### Fixed
- Fixes [#153](https://github.com/eamodio/vscode-gitlens/issues/153) - New folders treated as files in "Changed Files" section of the sidebar component
## [5.2.0] - 2017-09-23
### Added
- Adds new `Changed Files` node to the `Repository Status` node of the `GitLens` custom view's `Repository View` -- closes [#139](https://github.com/eamodio/vscode-gitlens/issues/139)

+ 1
- 1
src/git/git.ts ファイルの表示

@ -420,7 +420,7 @@ export class Git {
static status(repoPath: string, porcelainVersion: number = 1): Promise<string> {
const porcelain = porcelainVersion >= 2 ? `--porcelain=v${porcelainVersion}` : '--porcelain';
return gitCommand({ cwd: repoPath }, 'status', porcelain, '--branch');
return gitCommand({ cwd: repoPath }, 'status', porcelain, '--branch', '-u');
}
static status_file(repoPath: string, fileName: string, porcelainVersion: number = 1): Promise<string> {

読み込み中…
キャンセル
保存