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 12 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
 *~
1
 *~
2
 .*.swp
2
 .*.swp
3
 .netrwhist
3
 .netrwhist
4
+*/git-universe/private/*

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

20
 printf "    path = $tilde/.git-universe/gitconfig-before\n" >> ~/.gitconfig
20
 printf "    path = $tilde/.git-universe/gitconfig-before\n" >> ~/.gitconfig
21
 printf "    path = $tilde/.git-universe/host/$host.gitconfig\n" >> ~/.gitconfig
21
 printf "    path = $tilde/.git-universe/host/$host.gitconfig\n" >> ~/.gitconfig
22
 printf "    path = $tilde/.git-universe/user/$user.gitconfig\n" >> ~/.gitconfig
22
 printf "    path = $tilde/.git-universe/user/$user.gitconfig\n" >> ~/.gitconfig
23
+printf "    path = $tilde/.git-universe/private/gitconfig\n" >> ~/.gitconfig
23
 printf "    path = $tilde/.git-universe/gitconfig-after\n" >> ~/.gitconfig
24
 printf "    path = $tilde/.git-universe/gitconfig-after\n" >> ~/.gitconfig