Modify willis to work on branches too

The `willis' utility which reports repo tree status is broken when
operating on branches, because it uses the same git branch to find out
the git tree status. The Manifest object provides proper default
branch for every git repository, that information should be used

   . run modified 'willis' on a ToT, observe reporetd results match
     unmodified version
   . run modified 'willis' in the firmware branch - observe it succeed
     (showing sensible git repos information), it was failing before

Change-Id: I6c96624a3bf6c4f5861b3842cbcce87ff4a7edbf
Signed-off-by: Vadim Bendebury <>
Reviewed-by: David James <>
1 file changed