biox / pa

a simple password manager. encryption via age, written in portable posix shell
https://passwordass.org
Other
506 stars 21 forks source link

clean git implementation slightly #45

Closed biox closed 1 month ago

biox commented 1 month ago

tried to make it a little more obvious - felt wrong that the function git_add_and_commit would perform any checking about whether git was available - i moved those checks to the relevant callsites.

also, i busted the add & commit steps apart and added naive error handling. idk if that's ideal but i figure if automated git stuff borks we should probably toss an error of our own.