stable

Clone or download

Read-only

Do not display selector if repository barely "empty"

Part of story #10414: have a branch/tag selector Create a repository, wait for its creation. Go to the repository, you should not see the branch/tag selector. Push some commits in another branch than the default one (typically master). You should seee the branch/tag selector. * By "empty", we mean: no branchs nor tags and current commit is undefined. Change-Id: I9f8b0d2193f72045e640a1919773c94d03a413ac

Modified Files

Name
A plugins/git/include/Git/Repository/GitPHPProjectRetriever.php +39 −0 Go to diff View file
M plugins/git/include/Git/Repository/View/CommitForCurrentTreeRetriever.php +4 −7 Go to diff View file
M plugins/git/include/Git/Repository/View/FilesHeaderPresenterBuilder.php +24 −6 Go to diff View file
M plugins/git/include/gitPlugin.class.php +2 −0 Go to diff View file
M plugins/git/phpunit/Git/Repository/View/FilesHeaderPresenterBuilderTest.php +89 −14 Go to diff View file