Package: mr
Version: 0.31
Severity: wishlist

My use case for mr is push everything to a server at the end of the
day from my working machine, and to pull everything onto my laptop.  

This fails with the current defaults (at least for git) because git
commit fails (returns status 1) if there is nothing to commit.  I
propose something like the following default.

git_commit = if git status -a > /dev/null ; then git commit -a; fi && git push

I tested it once, and it works for me (TM).  

BTW, > /dev/null is not just a good idea, it is mandatory to work around a 
current bug in git-status.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to