diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2014-06-22 18:12:06 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2014-06-23 16:04:30 +0200 |
commit | 9a131dd091323602cd4ab343031a05ef131fe122 (patch) | |
tree | 8b28c2bba96e3637e0ee7c16e80ec64ba1a0180a /HACKING.md | |
parent | bdb5809129a926eb56ed1c8bd25da5be20d0ee98 (diff) | |
download | haskell-9a131dd091323602cd4ab343031a05ef131fe122.tar.gz |
sync-all: set and check variable $repo_is_submodule
Not only does this make the code easier to read, it also fixes a bug.
Starting with commits 691c8a and ccce9f, certain subcommands should
behave differently for submodules. This was done by checking, for each
such subcommand:
$remotepath eq "-"
This commit corrects that to the check:
$$line{"remotepath"} eq "-".
Because when we have a clone of a local mirror (checked_out_tree=1),
remotepath actually gets set to $$line{"localpath"}.
Diffstat (limited to 'HACKING.md')
0 files changed, 0 insertions, 0 deletions