[PATCH 0 of 1] bare git subrepos not considered dirty

Martin Geisler mg at aragost.com
Thu May 26 09:16:05 CDT 2011

Paul Molodowitch <paulm at luma-pictures.com> writes:

> Currently, if there is a bare git subrepo, but it is at the "right"
> revision, calling dirty() will error because diff-index does not work
> on bare repos. This patch makes it so bare subrepos are always
> considered dirty.

Please include this explanation in the commit message itself instead of
sending it as an intro mail. It is very important to attach the
explanations so that they can be found in the future.

A commit message should summarize *what* is being done and more
importantly explain *why* a change is made the way it is. This very nice
main explains the why.

Martin Geisler

aragost Trifork
Professional Mercurial support

More information about the Mercurial-devel mailing list