1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

Set status.showUntrackedFiles to "no"

Each time the yadm repository is initialized or cloned,
set `status.showUntrackedFiles` to "no". This prevents untracked files
and directories from showing up in status commands. This seems to be the
most sensible default, because usually there will be MANY untracked
files in a user's $HOME directory.
This commit is contained in:
Tim Byrne
2015-07-26 10:59:13 -05:00
parent 1fe02b6da1
commit eb60da77b8
3 changed files with 9 additions and 3 deletions

3
yadm
View File

@@ -390,6 +390,9 @@ function configure_repo() {
#; set the worktree for the yadm repo
git config core.worktree "$YADM_WORK"
#; by default, do not show untracked files and directories
git config status.showUntrackedFiles no
#; possibly used later to ensure we're working on the yadm repo
git config yadm.managed 'true'