I have the following Git log.:
I have used the EGit "Amend previous commit" function to change the commit message for commit with message "Remove unused function addSubinterval before", that I have already pushed to the Git server to "Remove unused function addSubinterval".
After that I realized that I have code back in my file, that I have removed and pushed to the server. It was commit with message: "Remove unused function setDocumentTextAndInfoColor()". I don't know if it's only content from this commit is back.
I checked commit with message: "Delete "nextrefid" and "nextrefid_nr" for follow-on...". That commit is not restored in my local file.
Is that a desired behaviour for "Amend previous commit"?
I guess it is a bug, but maybe I miss something?