Mercurial > hg
diff contrib/hg-ssh @ 24000:82e3324c4df9
trydiff: inline sole addmodehdr() call
Now that there is only a single call to addmodehdr() left, and there
is other similar code (for new/deleted files) around that call site,
let's inline the function there. That also makes it clearer under what
circumstances the header is actually written (when modes differ).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 16 Jan 2015 14:53:37 -0800 |
parents | 1ba3e17186c8 |
children | 2b9cda9040f7 |