Commit Graph

21 Commits

Author SHA1 Message Date
Josh Rabinowitz
549cd9aa24
Issue 706 decrypt errors (#831)
* check for encrypted version of file before decrypting, for #706
* improve error messages, verbose output and non-verbose output
* in tests, prefix output from git init with 'git: '
* 'clean' options only remove added files, for #833
* update changelog
2022-04-19 17:14:55 -04:00
Josh Rabinowitz
50734fd364
cleanups and renames (#784)
* rename _append_* functions to _prepend_*
* improve code flow
* be more standard with shellcheck disables
2022-02-27 08:30:27 -05:00
Josh Rabinowitz
ce8c6b3ae0
Change 'add' to add to .gitignore by default. (#429)
* Change 'add' to add to .gitignore by default.
Also add _message() function and improve output from 'git-secret-add',
alter tests for new code behavior, and update docs.
* change tests since 'add' always adds to .gitignore
* improve output: prepend more message with 'git-secret:'.
* update man page for git-secret-add
2019-03-20 08:03:28 -04:00
joshr
bb2253af8a remove debug code, see #237 2018-07-14 15:19:11 -04:00
Josh Rabinowitz
deae0d1cd5 'git secret hide' without source files gives appropriate error (#158)
* don't hide files that don't exist decrypted.

and change related error message to 'file not found: filename'.

* ensure all source files are present before hiding

* test for 'add' while unencrypted file missing
2018-04-18 20:56:54 +03:00
joshr
4766df2110 improve error messages
in add, killperson, remove, tell, and main
2018-04-16 22:52:06 -04:00
Carlos Hernandez
fc5940840b Handle invalid flags better: SC2220 2017-11-27 09:52:08 -07:00
Carlos Hernandez
d71c27f9a2 Fix ShellCheck lint issue id 2220, drop gawk inplace. Add centos
support.
2017-11-27 09:50:38 -07:00
Carlos Hernandez
6279fe2125 Migrate to new fsdb remove 2017-09-08 14:19:48 -06:00
sobolevn
763e130b8d
Adds new strategy on working with the relative paths.
Changes:
1. When adding new file path is normalized in respect to both CWD and repo root
2. All commands now know about that
3. Tests are fixed

Refs #86, #85, #83
2017-03-06 13:14:44 +03:00
sobolevn
9d0a2ac1c1
Adds fixes to subdirectories bug.
Changes:
1. Fixes #86, now all variables are accessed as functions
2. Fixes #85, now these use cases are working correctly
3. Fixes #83, now init works relative to `.git` folder
4. Closes #77, zsh-plugin is deprecated
5. Refs #53, done some refactoring to tests
6. Closes #82, added additional information to pull-request template
7. Refs #22, plugins are deprecated
8. Also made a lot of improvments into both code and tests
2017-03-06 00:46:49 +03:00
sobolevn
67218994f3
refactored all src folder 2016-06-30 22:32:42 +03:00
sobolevn
a1cd887101
refactoring started, shellcheck is now supported 2016-06-30 17:38:02 +03:00
sobolevn
bf6fdac0b2 manuals finished, new help based on man, zsh plugin 2016-02-22 13:52:15 +03:00
sobolevn
6278d2e597 somehow git repo fucked up 2016-02-21 16:53:02 +03:00
sobolevn
8d16a0e679 manuals, help text, style fixes 2016-02-21 16:41:20 +03:00
sobolevn
b370149e18 fixes after makefile crash 2016-02-21 16:26:17 +03:00
sobolevn
d0f6a7c3c1 small style fixes 2016-02-20 23:22:56 +03:00
sobolevn
2b48137287 list and whoknows commands added 2016-02-19 14:07:43 +03:00
sobolevn
cd97ba1cc2 tests for remove 2016-02-18 00:48:04 +03:00
sobolevn
634de90bae pre-reliase 2016-02-15 13:17:55 +03:00