Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e908b22 authored by Joe Onorato's avatar Joe Onorato
Browse files

The --why parameter in whichgit should be optional

Test: ./build/make/tools/whichgit --modules out/target/product/coral/system.img
Change-Id: Ibc6e208d75c8e68c8130dc9ba3fc7af51390691b
parent 8d69e1b7
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@ def main(argv):
  # Print the list of git directories that has one or more of the sources in it
  for project in sorted(get_referenced_projects(get_git_dirs(), sources)):
    print(project)
    if args.why:
      if "*" in args.why or project in args.why:
        prefix = project + "/"
        for f in sources: