]> git.sur5r.net Git - u-boot/commit
tools: moveconfig: change class WorkDir to class ReferenceSource
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 15 Jun 2016 05:33:51 +0000 (14:33 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 22 Jun 2016 00:22:42 +0000 (09:22 +0900)
commit5cc42a51846cd69596081a9cd9d2bd0495815525
tree45b9808b151a4fd43d8d0065586816b62326edb8
parent5030159e27a1d6293f0f064807d4eef5dd6de714
tools: moveconfig: change class WorkDir to class ReferenceSource

The class WorkDir can be used in a very generic way, but currently
it is only used for containing a reference source directory.

This commit changes it for a more dedicated use.  The move_config
function can be more readable by enclosing the git-clone and git-
checkout in the class constructor.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
tools/moveconfig.py