Permalink
Browse files

Don't watch repos with dude.ignore = true

  • Loading branch information...
1 parent 2a34182 commit c6f2f6947f50ebe9891787f40c02cf3fc96d22b4 @sickill committed Oct 14, 2011
Showing with 9 additions and 0 deletions.
  1. +4 −0 README.md
  2. +5 −0 git-dude
View
@@ -98,6 +98,10 @@ taken from global setting):
$ git config dude.icon ~/.git-dude/dm-core/datamapper.png
+Tell git-dude to ignore specific repository (if you want to _unmonitor_ it):
+
+ $ git config dude.ignore true
+
## Author
Marcin Kulik (http://ku1ik.com/ | @sickill)
View
@@ -42,6 +42,11 @@ function notify() {
while true; do
for dir_name in *; do
if [[ -d "$dir_name" && $(cd "$dir_name"; git rev-parse --git-dir 2>/dev/null) ]]; then
+
+ if [[ $(cd "$dir_name"; git config dude.ignore) == true ]]; then
+ continue
+ fi
+
repo_name=$(basename "$dir_name" .git)
cd "$dir_name"

0 comments on commit c6f2f69

Please sign in to comment.