Browse Source

Added partial support for private files

*   if dotfiles are shared by git, it will ignore
    all files under dotfiles/git-universe/private

*   if you use other sharing mechanism, you need
    to exclude these files other way
Alois Mahdal 11 years ago
parent
commit
a05fdafa61
2 changed files with 2 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 1
    0
      dotfiles/git-universe/setup

+ 1
- 0
.gitignore View File

@@ -1,3 +1,4 @@
1 1
 *~
2 2
 .*.swp
3 3
 .netrwhist
4
+*/git-universe/private/*

+ 1
- 0
dotfiles/git-universe/setup View File

@@ -20,4 +20,5 @@ printf "[include]\n" >> ~/.gitconfig
20 20
 printf "    path = $tilde/.git-universe/gitconfig-before\n" >> ~/.gitconfig
21 21
 printf "    path = $tilde/.git-universe/host/$host.gitconfig\n" >> ~/.gitconfig
22 22
 printf "    path = $tilde/.git-universe/user/$user.gitconfig\n" >> ~/.gitconfig
23
+printf "    path = $tilde/.git-universe/private/gitconfig\n" >> ~/.gitconfig
23 24
 printf "    path = $tilde/.git-universe/gitconfig-after\n" >> ~/.gitconfig