mirror of
https://github.com/artiebits/fake-git-history.git
synced 2026-04-26 15:35:58 +03:00
[PR #1] [MERGED] Fix infinite spinner #27
Labels
No labels
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-git-history#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/artiebits/fake-git-history/pull/1
Author: @itsabdelrahman
Created: 8/21/2019
Status: ✅ Merged
Merged: 8/22/2019
Merged by: @artiebits
Base:
master← Head:hotfix/exec📝 Commits (1)
e0d6869Execute shell command once📊 Changes
1 file changed (+6 additions, -9 deletions)
View changed files
📝
index.js(+6 -9)📄 Description
Fixes #2.
A potential solution is joining all the git commands into a single long command and running it once asynchronously. This guarantees that the commands run individually in sequence (and therefore without race conditions), but also collectively run in an asynchronous fashion so that the spinner doesn't freeze. Here it is in action:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.