question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub Desktop very slow to commit after re-install

See original GitHub issue

Describe the bug

Before my reinstall, a commit would be immediate, just like on my commandline (which still is immediate touching the same files in the same repo). After the reinstall, it takes over a minute to commit a simple README.md change.

Version & OS

Version 2.5.4-linux1.

I tried the latest version as well, to find the same behavior.

Steps to reproduce the behavior

  1. Change any file
  2. Commit

Expected behavior

Near-immediate commit

Actual behavior

Commit takes over a minute

Screenshots

image

Logs

2021-01-10T19:15:38.860Z - info: [ui] Background fetch for 3 repositories took 0.623sec
2021-01-10T19:16:35.940Z - info: [ui] [BranchPruner] Last prune took place in a day - skipping
2021-01-10T19:18:13.325Z - info: [ui] Executing updateIndex: git update-index --add --remove --replace -z --stdin (took 95.848s)
2021-01-10T19:18:13.611Z - info: [ui] [Timing] Action 'create commit' for 'transloadit/transloadit-api2' took 96.172s
2021-01-10T19:20:24.302Z - info: [ui] Executing parseTrailers: git interpret-trailers --parse (took 122.124s)

Originally posted over at https://github.com/desktop/desktop/issues/11364

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:6
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
csouerscommented, Jan 12, 2021

Version & OS: Version 2.5.4-linux1 on Ubuntu 20.04

If you leave the window and come back, it will apply the commit. Within the last week, I did a fresh install of Ubuntu 20.04 on two different machines and they both exhibit the same issue.

Additionally, I just created a test repository through Github Desktop and it has the same issue. The progress indicator just spins, but it doesn’t move to the commit history screen until focus has left and returned to Github Desktop. The repository does get made in this instance, but it doesn’t seem to finish properly until you’ve returned to the application.

Reproduction flow: Step 1: Create a new repository inside of GitHub Desktop. The progress indicator will spin. The repository and its folder get created, but doesn’t finish. It gets stuck on something related to .gitattributes. Step 2: Open terminal and verify with git status:

On branch master

No commits yet

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	.gitattributes

nothing added to commit but untracked files present (use "git add" to track)

Step 3: Go back to Github Desktop and it will quickly go to the commit screen. Step 4: Back to terminal once more to check what’s changed:

On branch master
nothing to commit, working tree clean

So it’s getting stuck somewhere within the process of setting up the repository. In the case of the topic of the issue, I’ve verified that any file commits don’t take place until you’ve returned to the window.

Hope this helps.

1reaction
shiftkeycommented, Jan 15, 2021

This is the same as #329, please follow along with that issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

GitHub Desktop very slow to commit after re-install #11364
After the reinstall, it takes over a minute to commit a simple README.md change. Version & OS. Version 2.5.4-linux1. I tried the latest...
Read more >
Github Desktop is very slow · Issue #7108
The application itself isn't unresponsive and the swirling icon works just fine. I can commit to master, then it takes 5s-10s then push...
Read more >
GitHub Desktop has begun running slow · Issue #9193
Go to Github. Wait for the current repo to refresh; Perform any function (including Help->About); Everything is extremely slow. Expected ...
Read more >
Very Slow Performance since 2.9.6 update · Issue #13586
I've reinstalled the software and it is still very slow. ... Yesterday I got a notification to update GitHub Desktop and after restarting ......
Read more >
GitHub Desktop: Extremely slow after an update · Issue #14950
The problem. Everything has become slow. Clicking on file -> Diff takes 5-6 seconds to load (spinner keeps spinning in diff window)
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found