-
Notifications
You must be signed in to change notification settings - Fork 267
feature: replace "to Here" in context menu with SHA of selected commit #811
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
Conversation
513ed66
to
66d413a
Compare
In my opinion, switching to SHA is more difficult for users to understand.
It is not switching to SHA. IMO, my PR adds one more detail that makes things easier to understand.
I've checked that how
SourceTree
,Fork
andGitkraken
implement this. None of them using SHA in the context of selected commit.
Please, take a closer look at SourceTree screenshots that you've posted. Context menus show exactly this. They say "Rebase children of 44a784a interactively..." and "Rebase children of 81a0e2a59 interactively..."
SmartGit's menus simply say "Rebase..." and "Rebase interactive from..."
Anyway, I don't think that the sentence "Rebase xxxx to Here" is grammatically correct. It should be "Rebase xxxx here" or "Rebase xxxx to selected commit".
I've checked that how
SourceTree
,Fork
andGitkraken
implement this. None of them using SHA in the context of selected commit.Please, take a closer look at SourceTree screenshots. Its context menus say "Rebase children of 44a784a interactively..." and "Rebase children of 81a0e2a59 interactively..."
You just pointed out the part which I did not like. When users selected a commit and open context menu of it, why not using a friendly name such as This Commit
or Here
to reference the one they just selected? If we shows an SHA, do we want them to check what this SHA reference to?
SmartGit's menus simply say "Rebase..."
Anyway, I don't think that the sentence "Rebase xxxx to Here" is grammatically correct. It should be "Rebase xxxx here" or "Rebase xxxx to selected commit".
I will change the Rebase xxxx to Here
to Rebase xxxx on Here
I will change the
Rebase xxxx to Here
toRebase xxxx on Here
Please, change the message to "Rebase xxxx on this commit".
"Here" is not a proper noun, therefore should not start from the capital "H".
And "Rebase to here" seems to me grammatically incorrect construction. High-quality English texts that I've seen, use "to here" in other contexts and constructions. Unfortunately, I'm not an expert in English grammar, therefore cannot name specific rules that govern this.
I will change the
Rebase xxxx to Here
toRebase xxxx on Here
Please, change the message to "Rebase xxxx on this commit".
"Here" is not a proper noun, therefore should not start from the capital "H". And "Rebase to here" seems to me grammatically incorrect construction. High-quality English texts that I've seen, use "to here" in other contexts and constructions. Unfortunately, I'm not an expert in English grammar, therefore cannot name specific rules that govern this.
I do NOT think so. Here is a screenshot from JetBrains Rider
image
I do NOT think so. Here is a screenshot from
JetBrains Rider
Hmm. This seems reasonable. Although JetBrains developers have Russian roots, I don't think that their knowledge of English is poor.
I'd like to keep fixes that I've made in 66d413a.
I'll do it in another PR. I need to consult with existing translation of the ProGit book.
Word "to Here" do not seem grammatically correct to me.
Therefore I've decided to make this menu better.
I have also reworded a couple of other messages in Russian locale.
I am not sure about correctness of messages in other languages, besides English and Russian. Please, revise and fix them.