]> source.dussan.org Git - gitea.git/commit
Exclude the current dump file from the dump (#14606)
authorzeripath <art27@cantab.net>
Mon, 8 Feb 2021 01:00:12 +0000 (01:00 +0000)
committerGitHub <noreply@github.com>
Mon, 8 Feb 2021 01:00:12 +0000 (09:00 +0800)
commit3477e616abe9ad47eb020d19a3ac925bd961e47b
treeff75b24a5799a39ee034b0c52f1a9fe1727976b8
parente65cfabda7caa22eef92137c5c501d1c60fcc42a
Exclude the current dump file from the dump (#14606)

* Exclude the current dump file from the dump

Always prevent the current file from being added to the dump.

Fix #13618

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Add skip custom directory option

Signed-off-by: Andrew Thornton <art27@cantab.net>
* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
cmd/dump.go
docs/content/doc/usage/command-line.en-us.md