Fix NPE in SubmoduleUpdateCommand
commitaa4edf4186a04beea7f09f20224228845c57593d
authorThomas Wolf <thomas.wolf@paranor.ch>
Mon, 8 May 2017 08:22:53 +0000 (8 10:22 +0200)
committerThomas Wolf <thomas.wolf@paranor.ch>
Mon, 8 May 2017 08:22:53 +0000 (8 10:22 +0200)
treed915550bb8e765a10a1686709e0d6b0854fa1179
parent7b1e508d9afc561d7f8bd5875203d4623c81e5e4
Fix NPE in SubmoduleUpdateCommand

Submodules not yet cloned return a null repository from the
SubmoduleWalk. They need not and must not be considered when
checking for uncommitted changes.

Bug: 514936
Change-Id: I051328559029446f0ddb4409e7256733e50597e7
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/tree/command/SubmoduleUpdateCommand.java