Skip to content

feat req. git config status.showUntrackedFiles all and tab to expand on untracked folder #365

@doctorguile

Description

@doctorguile

I assume this is feature parity with emacs magit.

see shell history below for raw git behavior

% mkdir proj
% cd proj
% git init
Initialized empty Git repository in /private/tmp/proj/.git/
% mkdir subdir
% touch a.txt subdir/b.txt  subdir/c.txt
% git status

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        a.txt
        subdir/

% git config status.showUntrackedFiles all

% git status

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        a.txt
        subdir/b.txt
        subdir/c.txt

emacs magit also respect the showUntrackedFiles all setting

hitting [tab] on the untracked dir will now expand

In the beginning there was darkness

Untracked files (2)
a.txt
subdir/
subdir/b.txt
subdir/c.txt

before setting showUntrackedFiles , emacs magit behaves like gitu where you cannot tab expand on untracked dir

I frequently have to selectively add files under untracked dir.

Is it possible to have tab expand like emacs magit?
Or maybe there are other workarounds?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions