anchor.diff:              %% path from inside a subdirectory.
               true = rebar_utils:expand_code_path(),
               {ParentConfig2, _DirSet} = process_dir(rebar_utils:get_cwd(),
  -                                                   ParentConfig1, Command,
  +                                                   Command, ParentConfig1,
                                                      sets:new()),
               case get_operations(ParentConfig2) of
                   Operations ->
  
positive.code: 
      %% Invoke 'postprocess' on the modules. This yields a list of other
      %% directories that should be processed _after_ the current one.
      {Config8, Postdirs} = acc_modules(Modules ++ PluginModules, postprocess,
                                        Config7, ModuleSetFile),
      ?DEBUG("Postdirs: ~p\n", [Postdirs]),
      Res = process_each(Postdirs, Command, Config8,
                         ModuleSetFile, DirSet3),
  
      %% Make sure the CWD is reset properly; processing the dirs may have
      %% caused it to change
  
negative.code: 
      %% Invoke 'preprocess' on the modules -- this yields a list of other
      %% directories that should be processed _before_ the current one.
      {Config1, Predirs} = acc_modules(Modules, preprocess, Config0, File),
  
      %% Remember associated pre-dirs (used for plugin lookup)
      PredirsAssoc = remember_cwd_predirs(Dir, Predirs),
  