chiark / gitweb /
directory refactoring: most invocations: call record_maintree
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 2 Aug 2017 18:59:53 +0000 (19:59 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Aug 2017 08:57:52 +0000 (09:57 +0100)
commitde8600f92c856f9a9925ed4754ab136c53827389
tree071bda37e48f233af47281085b170fd147912c32
parent2ef2809f38beeafcccd904267b82849ddcb17957
directory refactoring: most invocations: call record_maintree

We need to call record_maintree so that $maindir and its friends are
set, since we're going to rely on them heavily.  Most operations will
need them.

Any operation that is invoked in a git tree should definitely have
this called.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit