Re: Please default to 'commit -a' when no changes were added
- From
Jon Seymour <jon.seymour@gmail.com>
- Date
- Apr 22, 2010, 22:38 UTC
- Message-ID
- <x2l2cfc40321004221538qade3dd4dkc149f2748b94ef81@mail.gmail.com>
- In-Reply-To
- <x2qc376da901004221448i373a342p1d7b763383e80472@mail.gmail.com>
On Fri, Apr 23, 2010 at 7:48 AM, Adam Brewster <adambrewster@gmail.com> wrote:
Show 7 quoted lines
> Consider > > $ echo -e '#!/bin/bash\nif git diff-tree --quiet HEAD; then git commit > -a; else git commit; fi' > `git --exec-path`/git-ci > $ chmod 555 `git --exec-path`/git-ci > > Adam
Perhaps I am missing something, but I would have thought git diff-files --quiet would be more useful in this context...
jon.
Show 5 quoted lines
> -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >