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

Show File History #1156

Closed
rebeccazee opened this issue Nov 15, 2020 · 14 comments
Closed

Show File History #1156

rebeccazee opened this issue Nov 15, 2020 · 14 comments
Assignees
Labels
feature New feature or request needs-verification Indicates a request for community verification
Milestone

Comments

@rebeccazee
Copy link

This feature was in the previous version. When right clicking a file and clicking "Show File History", you would be able to view all the changes in the command palette. I don't mind that this was moved, but you used to also be able to view all the previous changes of the file before in situations where the file was renamed. Now it looks like you have to go through all the repo commits. It also looks like you can only view the changes after a file rename in the file history view.

@rebeccazee rebeccazee added the feature New feature or request label Nov 15, 2020
@eamodio
Copy link
Member

eamodio commented Nov 16, 2020

While I removed this option from the right-click menu (to reduce the number of options and possible confusion with Open File History, the Show File History command can still be access from the command palette. Also the rename following was disabled by default (because it can cause too many issues if you aren't expecting it), but can be re-enabled by toggling this:

image

or by setting "gitlens.advanced.fileHistoryFollowsRenames": true in your settings.json (the toggle above just sets the setting)

As for the view there is an issue #1148 that might be giving you issues with rename following, which will be fixed shortly.

@eamodio
Copy link
Member

eamodio commented Nov 16, 2020

Let me know if 11.01 works for you.

@rebeccazee
Copy link
Author

Thank you so much, This helped a lot.

What I meant from accessing the Show File History command in the command palette is that in the previous versions versions before version 11, you could see the File History in the command palette instead of it taking you to the side bar. It was nice to see all the various options you can click on when clicking a certain commit of the file. I am completely fine with it directing you to the side bar instead.

@eamodio
Copy link
Member

eamodio commented Nov 23, 2020

Today, the Show File History command from the command palette does very similar to what it used to -- shows the file history directly in the quick pick menu. While Open File History will open the File History view with the history of the current or selected file.

@rzee01 are you seeing something different?

@eamodio eamodio added the needs-more-info Indicates that further information is required label Nov 23, 2020
@souradeep-nanda
Copy link

Please add this to the documentation. Over here preferably. I was scared for a moment.
Screen Shot 2020-12-08 at 9 55 21 AM

@github-actions
Copy link

github-actions bot commented Dec 15, 2020

This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!

@github-actions github-actions bot added the inactive Indicates that the issue has not had recent required feedback label Dec 15, 2020
@eamodio
Copy link
Member

eamodio commented Dec 15, 2020

@souradeep-nanda I'm not sure what you'd like added to the documentation, but please feel free to send a PR updating the docs! Thanks.

@rebeccazee
Copy link
Author

Everything is fine. I think I just liked how everything was shown in the command palate since it seems easier to see. I never really liked how VS Code's Github section looked and would always use your extension to see the options for Git or Github. In version 10,, all the options were placed like this:

image

@eamodio
Copy link
Member

eamodio commented Dec 22, 2020

@rzee01 That still exists today -- using the GitLens: Show File History command from the command palette (ctrl+shift+p or cmd+shift+p.

Is your issue/request that there is no longer the "show" version of the file history in the content menu of files in the Explorer side bar? As I only have the Open File History option there.

@eamodio eamodio removed the inactive Indicates that the issue has not had recent required feedback label Dec 22, 2020
@github-actions
Copy link

This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!

@github-actions github-actions bot added the inactive Indicates that the issue has not had recent required feedback label Dec 30, 2020
@rebeccazee
Copy link
Author

Going back to the version before 11, it looks like I used to click on "Show File History" in the context menu which showed your commits pertaining to the particular file in the command palette. I think I liked it when you click on a commit on a particular file, it brought up those options I have in my previous post. It also looked cleaner when that option in the context menu took you to the command palette and showed the file's history as shown below.
image

@eamodio eamodio removed inactive Indicates that the issue has not had recent required feedback needs-more-info Indicates that further information is required labels Jan 5, 2021
@eamodio eamodio self-assigned this Jan 5, 2021
@eamodio eamodio added this to the Soonish™ milestone Jan 5, 2021
@eamodio
Copy link
Member

eamodio commented Jan 5, 2021

OK, thanks -- as I've mentioned that still exists today -- using the GitLens: Show File History command from the command palette.

But I will add an additional Quick Open File History entry to all the menus where Open File History currently lives. And there will be a corresponding Quick Open File History entry in the command palette too (which is the same as the Show File History command)

@eamodio eamodio modified the milestones: Soonish™, Soon™ Jan 5, 2021
@eamodio eamodio closed this as completed in 60adad8 Jan 6, 2021
@eamodio eamodio added the needs-verification Indicates a request for community verification label Jan 6, 2021
@eamodio
Copy link
Member

eamodio commented Jan 6, 2021

Can you please verify this fix in tomorrow's insiders edition?

You can install the insiders edition from here. Be sure to disable/uninstall the stable version of GitLens first.

@eamodio eamodio added the pending-release Indicates that the issue been resolved, but has not yet been released to the stable edition label Jan 6, 2021
@eamodio eamodio removed this from the Soon™ milestone Feb 3, 2021
@eamodio eamodio added this to the Shipped milestone Feb 3, 2021
@eamodio eamodio removed the pending-release Indicates that the issue been resolved, but has not yet been released to the stable edition label Feb 9, 2021
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request needs-verification Indicates a request for community verification
Projects
None yet
Development

No branches or pull requests

3 participants