Git panel should only show current opened project status #1595

Description
@Samnan commented on Jul 19, 2018, 12:26 PM UTC:
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Git panel should always show the project git status, but it changes if a file from another project is opened in same window.
Steps to Reproduce
- Open any project using git.
- Open a single file from any other project/folder that also uses git
- Git panel starts showing the modified changes from the project whose file is opened, instead of the project that is opened.
Expected behavior: Git panel should always show git status of current project, regardless of what file is opened.
Actual behavior: Git panel starts showing the modified changes from the project whose file is opened, instead of the project that is opened. This is very confusing and hopefully just a bug and not a feature.
Reproduces how often: Every time.
Versions
Atom: Latest as of this day.
OS: Mac High Sierra 10.13.5
You can get this information from copy and pasting the output of atom --version
and apm --version
from the command line. Also, please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
This issue was moved by rsese from atom/atom#17714.