benthayer / git-gud

Wanna git gud? Then get git-gud, and git gud at git!
MIT License
401 stars 42 forks source link

Added Status Message for Amending #309

Open sahansk2 opened 3 years ago

sahansk2 commented 3 years ago

Fixes #264

Tested locally on skill 2-1



(base) sahan@sahan-GA-78LMT-USB3:test$ git gud status
Before:
Hash :  8bce9d1
Message :  Commit 2
File :  Present

After:
Hash :  10c914a
Message :  now i am become death, destroyer of worlds
File :  Missing
sahansk2 commented 3 years ago

@benthayer The branch displaying support is actually from #310 -- I took the code from there and implemented it here, but now that I think of it, we would have different commits with the same "content". If you're okay with it, I can remove the branch-displaying code from these commits, work on everything else not including the branches, and then rebase on master when #310 is merged. What do you think?