Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Having this plugin running prohibits rebase #792

Closed

Description

@gjtorikian

This is a bit odd. If Atom is running, with this package enabled, I can no longer run git rebase on the terminal. This is because apparently the package has held onto a Git lock:

fatal: Unable to create '/Users/gjtorikian/github/github/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

As this package doesn't support rebase -i, dropping to the terminal is the only way to achieve this. Is there anything that can be done for this?

Activity

  1. BinaryMuse commented on May 13, 2017

    @BinaryMuse
    Contributor

    What's your current version? This should be fixed by #726, which fixed a very similar bug (#348).

  2. BinaryMuse commented on May 13, 2017

    @BinaryMuse
    Contributor

    (You can use git --git-dir ~/.atom/packages/github/.git rev-parse head to get this for now)

  3. gjtorikian commented on May 13, 2017

    @gjtorikian
    Author

    I think my version is mega old. I'm on f897a4c.

  4. gjtorikian commented on May 13, 2017

    @gjtorikian
    Author

    Nope: I'm on ca87e37 now, and the problem persists. 😢

  5. BinaryMuse commented on May 15, 2017

    @BinaryMuse
    Contributor

    @gjtorikian Hm, curious. If you edit ~/.atom/packages/github/lib/models/workdir-context.js and change the number 3000 on line 46 or so to something larger — say, 30000, does the problem persist?

  6. gjtorikian commented on May 15, 2017

    @gjtorikian
    Author

    I'm having trouble reproducing it now, so I'm wondering if I just forgot to restart Atom.

    Closing for now, then if it springs up again I'll try changing the timeout.

  7. BinaryMuse commented on May 15, 2017

    @BinaryMuse
    Contributor

    Oooo that makes me feel a little better! 😅 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions