]> git.madduck.net Git - etc/mutt.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

silence cmp call by lbdbq
authormartin f. krafft <madduck@madduck.net>
Wed, 24 Apr 2013 14:55:38 +0000 (16:55 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 24 Apr 2013 14:55:38 +0000 (16:55 +0200)
.lbdbrc

diff --git a/.lbdbrc b/.lbdbrc
index a66f67c838d27de329580571efbf5895e61c3c3c..f169a48efb52c57d67145d01cf56ce24d52411ea 100644 (file)
--- a/.lbdbrc
+++ b/.lbdbrc
@@ -10,7 +10,7 @@ if [ -d $CONTACTS_DIR ]; then
   cleanup() { rm -f $VCF_TEMP; trap - EXIT; }
 
   for i in $CONTACTS_DIR/*; do case "${i##*/}" in ICE*) continue;; esac; cat "$i"; echo \r; done >| "$VCF_TEMP"
   cleanup() { rm -f $VCF_TEMP; trap - EXIT; }
 
   for i in $CONTACTS_DIR/*; do case "${i##*/}" in ICE*) continue;; esac; cat "$i"; echo \r; done >| "$VCF_TEMP"
-  if ! cmp "$VCF_FILES" "$VCF_TEMP"; then
+  if ! cmp --quiet "$VCF_FILES" "$VCF_TEMP"; then
     mv "$VCF_TEMP" "$VCF_FILES"
   fi
   cleanup
     mv "$VCF_TEMP" "$VCF_FILES"
   fi
   cleanup