darrenburns / dunk

Prettier git diffs in the terminal 🎨
745 stars 15 forks source link

ask git what its root is, instead of trying to figure it out ourselves #8

Open 1ace opened 2 years ago

sahinakkaya commented 2 years ago

I think this might fix #10 but with some extra steps. Currently it looks like this:

❯ bare rev-parse --show-toplevel
/home/***
❯ git rev-parse --show-toplevel
fatal: not a git repository (or any of the parent directories): .git