AGWA / AGWA/git-crypt

add quiet flag to 'status' subcommand output for checking encryption state

未關閉
#68 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
9.9k
分支
544
PR 合併指標
30 天內沒有已合併 PR

描述

`git-crypt status` detects when a file was staged prior to
the `.gitattributes` file being present, and issues a warning:

```
*** WARNING: staged/committed version is NOT ENCRYPTED! ***
```

Note that `git-crypt` also properly sets return code nonzero in
this case.

Mentioned in #45 was the usefulness of a pre-commit hook
to check proper encryption status. To facilitate such a hook
without needing to stifle stdio, please add a `-q` or other flag
to `git-crypt status`, so it can be used to give a "yes" or "no"
response in hook scripts or similar.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。