github icon indicating copy to clipboard operation
github copied to clipboard

Git Panel opens on every save

Open trevans24 opened this issue 7 years ago • 5 comments

Prerequisites

Description

The Github panel opens every time I save. For the longest time with this package, I could save all day long and it would never open and show me the differences in my branch to what I just saved. It was nice to have when I wanted to open and see all changes, but since I save and push to my git frequently I don't need to see this panel every save

Steps to Reproduce

  1. In any project start doing some changes different to what is on the branch, you are working on.
  2. Do a core:save cmd-s
  3. The git panel just opens by itself. It never used to do this and now manually closing it doesn't help either.

Expected behavior: Leave it as it was where if I want to open the git panel and use it I would. Not to open because I save my project and haven't pushed to GitHub/bitbucket just yet. This setting never happened in the last 2 plus years I have had this package in Atom

Actual behavior: The panel opens every save cmd-s and I am getting tired of closing it, and don't want it taking up a tab always open

Reproduces how often: Every time you save (100% of the time)

Versions

Atom 1.34.0 MacOS Mojave 10.14.2

Additional Information

I tried toggling keybindings and making sure there were no extra settings added in the settings part of the package.

I also looked for similar issues like this one: issue but there seems to be nothing about what would be done to solve the issue or how to stop it from toggling on by itself

trevans24 avatar Feb 28 '19 15:02 trevans24

@trevans24 thanks for reporting 👋

Do you happen to have any merge conflicts present? Can you reproduce this bug in multiple different repositories?

annthurium avatar Feb 28 '19 21:02 annthurium

The tab appears automatically for me when I have unmerged paths present in git status. I would prefer if there was an option to never have the git pane appear, as I don't need the additional information to resolve my conflicts. It would be fine for me if the setting defaulted to showing the pane to users as it is now.

I would prefer not to disable the git integration package, as I do still like have the coloring and highlighting that the package provides while viewing the conflicts through the editor.

Sidenote: Why is the package called Github Integration and not Git Integration? It seems like many of the features are generic to just git, and are not specific to Github.

wmgroot avatar Mar 04 '19 20:03 wmgroot

Sorry about that! I believe we have a fix for this in Atom 1.35 beta. Would you mind trying Atom Beta and seeing if that resolves the issue? (Alternately you can wait until the next atom release where what's currently beta rolls over into stable.)

for more context: https://github.com/atom/github/pull/1822

annthurium avatar Mar 06 '19 23:03 annthurium

friendly ping on this. Now that Atom 1.35 stable is out, could you try upgrading and see if the bug is present in that version?

annthurium avatar Mar 19 '19 22:03 annthurium

going to close this out, but feel free to reopen if there are additional issues.

annthurium avatar Apr 17 '19 16:04 annthurium