oracle / opengrok

OpenGrok is a fast and usable source code search and cross reference engine, written in Java
http://oracle.github.io/opengrok/
Other
4.35k stars 745 forks source link

tunable to hide branch info on project homepage #1947

Open kaoer opened 6 years ago

kaoer commented 6 years ago

SCM Type: Parent (branch)

git: ssh://compiler@smartgit:29418/ard_8.1/android_art ((no branch)) git: ssh://compiler@smartgit:29418/ard_8.1/android_bootable_recovery ((HEAD detached at 8c44639))

i want to change to: git: ssh://compiler@smartgit:29418/ard_8.1/android_art git: ssh://compiler@smartgit:29418/ard_8.1/android_bootable_recovery

what i need to do ?

vladak commented 6 years ago

I assume you'd like to have a tunable to suppress displaying branch information for all repositories.

kaoer commented 6 years ago

Yes. download code with "repo init, repo sync",the git repository is in "no branch" state.

image

vladak commented 6 years ago

The basis for this change is there (https://github.com/OpenGrok/OpenGrok/wiki/Per-project-configuration)