DESCRIPTION

Fix displayed name of submodule repo with Git 1.7.8 layout

It would just use the parent directory name, which is always "modules"
for submodule repos being stored in .git/modules/$mod. This would be
confusing in the repositories view.

Instead, use the name of the worktree directory for non-bare
repositories.

Bug: 392378
Change-Id: Icd9dd9d53d309daff2f66df7a9f510fe6bc82ed1
Signed-off-by: Danika Greer xxx@xxx.xxx


COMMENTS

author: Brenden Conley
date: 2013-12-09 23:56:35.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit-stable.gerrit/243/

-------------------------------------
author: Brenden Conley
date: 2013-12-10 00:04:46.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit-stable.gerrit/243/ : FAILURE

-------------------------------------
author: Brenden Conley
date: 2013-12-10 08:37:09.000000000

Patch Set 1: -Verified

Build Started https://hudson.eclipse.org/egit/job/egit-stable.gerrit/246/

-------------------------------------
author: Brenden Conley
date: 2013-12-10 08:42:53.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit-stable.gerrit/246/ : FAILURE

-------------------------------------
