Bhupesh-V / ugit

🚨️ ugit helps undo git commands. Your damage control git buddy. Undo from 20+ git scenarios.
https://bhupesh.me/undo-your-last-git-mistake-with-ugit/
MIT License
1.41k stars 45 forks source link

Empty commit list when running `git fsck` #29

Closed Bhupesh-V closed 1 year ago

Bhupesh-V commented 2 years ago

Describe the bug The command git fsck will return no data if there are no unreachable commits in history.

wat

To Reproduce

Expected behavior ugit should exit if there is no data provided by git fsck

Desktop (please complete the following information):

Additional context Check for this case while recovering deleted tag as well

2005493 commented 2 years ago

can I work on this issue??

Bhupesh-V commented 2 years ago

can I work on this issue??

Hey do you have any update on this? Did you face any roadblocks?

2005493 commented 2 years ago

Sorry for the late reply.. ..i am currently working on this issue and If i face some issue i will definitely let you know

On Sat, 27 Aug 2022, 8:08 pm Bhupesh Varshney, @.***> wrote:

can I work on this issue??

Hey do you have any update on this? Did you face any roadblocks?

— Reply to this email directly, view it on GitHub https://github.com/Bhupesh-V/ugit/issues/29#issuecomment-1229204711, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARHSRJFVOE7SPFITJ3J2J73V3IR4RANCNFSM5UPJBFJQ . You are receiving this because you were assigned.Message ID: @.***>

nalin-singh commented 1 year ago

Hello @Bhupesh-V, I have worked on a solution for this. Could you assign this to me, I don't have permission to push right now. Also I have sent a recording to you on discord.

Bhupesh-V commented 1 year ago

Hello @Bhupesh-V, I have worked on a solution for this. Could you assign this to me, I don't have permission to push right now. Also I have sent a recording to you on discord.

Hey, thanks for taking the initiative, I have assigned you the issue. Please fork the project, and push your changes to a new branch. Then create a PR from that branch to ugit. LMK if you face any issues.

PS: I checked the demo on discord, great work 🙌🏽

nalin-singh commented 1 year ago

I have added the PR #61, please have a look.