Fixes issue were .gitignore is not included in the commit when you register new file (#206)
* this should fix the .gitignore not be including in the commit when registering a new file
This commit is contained in:
committed by
Tom Limoncelli
parent
972abfc03f
commit
043b66dc50
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user