Mercurial > hg
comparison contrib/mercurial.spec @ 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 | cd0c51c07e5f |
children | 3e48462ec15a |
comparison
equal
deleted
inserted
replaced
23999:e02888efc5aa | 24000:82e3324c4df9 |
---|