dotfiles-directory: Ignore changes in .git/modules/
This commit is contained in:
@@ -138,7 +138,7 @@
|
|||||||
|
|
||||||
- name: fix group for dotfiles directory
|
- name: fix group for dotfiles directory
|
||||||
shell: |
|
shell: |
|
||||||
chgrp --changes --recursive dotfiles . | grep -v "changed group of './.git/index'"
|
chgrp --changes --recursive dotfiles . | grep -Ev "changed group of ('./.git/index'|'./.git/modules/)"
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
chdir: /var/lib/dotfiles
|
chdir: /var/lib/dotfiles
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
|
|
||||||
- name: fix group permissions for dotfiles directory
|
- name: fix group permissions for dotfiles directory
|
||||||
shell: |
|
shell: |
|
||||||
chmod --changes --recursive g+rwX . | grep -v "mode of './.git/index'"
|
chmod --changes --recursive g+rwX . | grep -Ev "mode of ('./.git/index'|'./.git/modules/)"
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
chdir: /var/lib/dotfiles
|
chdir: /var/lib/dotfiles
|
||||||
|
|||||||
Reference in New Issue
Block a user