diff --git a/bin/blackbox_register_new_file b/bin/blackbox_register_new_file index 288b8ae..0a49aad 100755 --- a/bin/blackbox_register_new_file +++ b/bin/blackbox_register_new_file @@ -44,7 +44,7 @@ function register_new_file() { vcs_ignore "$unencrypted_file" echo 'NOTE: "already tracked!" messages are safe to ignore.' vcs_add "$BB_FILES" "$encrypted_file" - vcs_commit "registered in blackbox: ${unencrypted_file}" "$BB_FILES" "$encrypted_file" + vcs_commit "registered in blackbox: ${unencrypted_file}" "$BB_FILES" "$encrypted_file" "$(vcs_ignore_file_path)" } for target in "$@"; do diff --git a/bin/blackbox_shred_all_files b/bin/blackbox_shred_all_files index c0c9afb..668c657 100755 --- a/bin/blackbox_shred_all_files +++ b/bin/blackbox_shred_all_files @@ -24,6 +24,7 @@ echo '========== FILES BEING SHREDDED:' exported_internal_shred_file() { source "$1/_blackbox_common.sh" + #unencrypted_file=$(get_unencrypted_filename "$2") unencrypted_file="$2" if [[ -f "$unencrypted_file" ]]; then echo " SHRED: $unencrypted_file"