mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Shell
- Converted from A3 to A3t. Still doesn't work though.
This commit is contained in:
parent
22c5bc28e1
commit
f89f5469a4
1 changed files with 6 additions and 6 deletions
|
@ -109,16 +109,16 @@ int main (int argc, const char** argv)
|
|||
|
||||
// Make a copy because context.clear will delete them.
|
||||
std::string permanent_overrides;
|
||||
std::vector <Arg>::iterator i;
|
||||
for (i = context.a3.begin (); i != context.a3.end (); ++i)
|
||||
std::vector <Tree*>::iterator i;
|
||||
for (i = context.a3t.tree ()->_branches.begin (); i != context.a3t.tree ()->_branches.end (); ++i)
|
||||
{
|
||||
if (i->_category == Arg::cat_rc ||
|
||||
i->_category == Arg::cat_override)
|
||||
if ((*i)->hasTag ("RC") ||
|
||||
(*i)->hasTag ("CONFIG"))
|
||||
{
|
||||
if (i != context.a3.begin ())
|
||||
if (i != context.a3t.tree ()->_branches.begin ())
|
||||
permanent_overrides += " ";
|
||||
|
||||
permanent_overrides += i->_raw;
|
||||
permanent_overrides += (*i)->attribute ("raw");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue