Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved git clone syntax help to properties file #43

Closed
wants to merge 1 commit into from
Closed

moved git clone syntax help to properties file #43

wants to merge 1 commit into from

Conversation

bledo
Copy link

@bledo bledo commented Oct 11, 2012

Moved syntax help line to properties file. The lines that display clone,remote, push syntax help. e.g :
git clone http://example.com:8080/gitblit/git/project.git
git remote add gitblit http://example.com:8080/gitblit/git/project.git
git push gitblit master

I was importing a large number of projects today and it was frustrating not been alb to change gitblit to origin. There was a lot of coping and pasting = ).

Thank you,

Ricardo

@gitblit
Copy link
Collaborator

gitblit commented Oct 11, 2012

My initial reaction is this should be in the language/translation resource file. My second reaction is I don't think these should be settings. I am going to sit on this for a while and perhaps after some time my way of thinking will come around to yours.

@marcomsousa
Copy link

I also don't like thinks like this in the gitblit.properties.

@martijnlaan
Copy link

What about web.repositoriesMessage then? It's very similar to these right?

@gitblit
Copy link
Collaborator

gitblit commented Oct 11, 2012

After thinking about it some more, I am not going to merge these changes. Martijn suggests a a good alternative, though. Perhaps (some of) the content of the empty repository page should be more like web.repositoriesMessage. I'd be more open to that.

@gitblit gitblit closed this Oct 11, 2012
@bledo
Copy link
Author

bledo commented Oct 11, 2012

web.repositoriesMessage is precisely the example I followed!
My rationale was I may change this settings to display other transports in the future. e.g. ssh://example.com:project.git

I also though about having this in the template itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants