<div dir="ltr"><div>Hello<br><br></div><div>We're sharing a store between several people, with different people allowed to see different subtrees. It would be helpful to see, in the Git history, which subtree a .gpg-id change applies to. Something like the patch below.<br><br></div><div>I'm not happy with the output that this produces when working on the .gpg-id at the root of the tree. I considered changing throughout to put a "/" at the start of all paths in logs or Git messages, but that seemed like a big change so I thought I'd see if anyone has a better idea.<br><br></div><div>-Ben<br></div><br><div><div><div>---<br> src/password-store.sh | 6 +++---<br> 1 file changed, 3 insertions(+), 3 deletions(-)<br><br>diff --git a/src/password-store.sh b/src/password-store.sh<br>index d535a74..122e65e 100755<br>--- a/src/password-store.sh<br>+++ b/src/password-store.sh<br>@@ -285,12 +285,12 @@ cmd_init() {<br>         mkdir -v -p "$PREFIX/$id_path"<br>         printf "%s\n" "$@" > "$gpg_id"<br>         local id_print="$(printf "%s, " "$@")"<br>-        echo "Password store initialized for ${id_print%, }"<br>-        git_add_file "$gpg_id" "Set GPG id to ${id_print%, }."<br>+        echo "Set GPG id(s) for ${id_path} to ${id_print%, }"<br>+        git_add_file "$gpg_id" "Set GPG id(s) for ${id_path} to ${id_print%, }."<br>     fi<br> <br>     reencrypt_path "$PREFIX/$id_path"<br>-    git_add_file "$PREFIX/$id_path" "Reencrypt password store using new GPG id ${id_print%, }."<br>+    git_add_file "$PREFIX/$id_path" "Reencrypt password store at ${id_path} using new GPG id(s) ${id_print%, }."<br> }<br> <br> cmd_show() {<br>-- <br>1.9.2<br><br></div></div></div></div>