AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.33k stars 479 forks source link

Add subcommand to know if repository is locked or unlocked #43

Closed magnetik closed 6 years ago

magnetik commented 9 years ago

To automate my workflow, I would like to have a command to check if the repository is unlocked.

For instance, git-crypt locked which return code can be checked for automation purpose.

AGWA commented 9 years ago

Hey, sorry for the late reply to this. I've been rather busy lately, but I do plan to add a flag to git-crypt status to report whether the repository is currently locked or unlocked.

magnetik commented 9 years ago

Great!

naasir commented 9 years ago

:+1: And thanks for the great work!

mbrgm commented 6 years ago

Any news on this? I'd like to implement it if you can tell me how to conceptually check the lock state.

mbrgm commented 6 years ago

This seems like a duplicate of #69?

smemsh commented 6 years ago

@mbrgm looks like it's indeed a duplicate, good catch. that bug was mine, I must have missed this when submitting (it's a later bug), my mistake. that one has a lot of comments by now though, more than this one, so I'm not sure if I should close that one as duplicate or what...

in any case, seems clear that no new features will get added to this project, after a number of years in stasis, so any tickets for features may be moot...

magnetik commented 6 years ago

Eheh, it's definitively yours that is a duplicate of this one (:

Anyway the other had more traction so let's keep only one.