git-lfs/lfs
brian m. carlson 84ca7e7875
Add a --file option to install and uninstall
There are actually two possible global configuration files,
`$HOME/.gitconfig` and `$XDG_CONFIG_HOME/git/config`.  However, the
`--global` file by default modifies only the former if it's present.
Add a `--file` option to `git lfs install` and `git lfs uninstall` so
that users can choose which of those files they'd like to use.

Update several tests to deal with our new, simpler error message so we
can avoid having to produce a huge number of different error messages.
2023-05-02 14:11:27 +00:00
..
attribute.go Add a --file option to install and uninstall 2023-05-02 14:11:27 +00:00
config_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
config.go Set package version to v3 2021-09-02 20:41:08 +00:00
diff_index_scanner.go make additional message strings translatable 2022-01-29 22:36:19 -08:00
extension.go subprocess: report errors when finding executables 2022-04-19 09:45:20 -07:00
gitfilter_clean.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitfilter_smudge.go tq: make Manifest an interface 2023-03-23 16:55:57 +00:00
gitfilter.go commands,git,lfs: rename left/right RefUpdate vars 2022-02-06 21:32:27 -08:00
gitscanner_catfilebatch.go update comments for catFileBatch() functions 2022-10-31 12:31:37 -07:00
gitscanner_catfilebatchcheck.go use backticks around commands in messages 2022-01-29 22:35:10 -08:00
gitscanner_catfilebatchcheckscanner_test.go lfs: teach gitscanner how to emit lockable files that aren't lfs objects 2017-02-16 16:52:40 -07:00
gitscanner_index.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_log.go lfs,t: use prune exclude filter on previous SHAs 2022-04-26 10:16:07 -07:00
gitscanner_pointerscanner_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_refs.go lfs/gitscanner*.go: update scan function comments 2022-02-06 21:32:27 -08:00
gitscanner_remotes.go Set package version to v3 2021-09-02 20:41:08 +00:00
gitscanner_tree.go update more comments for catFileBatch() functions 2022-10-31 22:15:22 -07:00
gitscanner.go commands,lfs,t: scan refs by tree when pruning 2022-04-27 20:25:13 -07:00
hook.go hooks: mention core.hookspath instead of just .git/hooks 2023-01-05 17:08:25 +00:00
lfs_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
lfs.go tq: make Manifest an interface 2023-03-23 16:55:57 +00:00
pointer_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
pointer.go make additional message strings translatable 2022-01-29 22:36:19 -08:00
scanner_git_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
scanner_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
scanner.go update comments for catFileBatch() functions 2022-10-31 12:31:37 -07:00
util_generic.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_test.go Set package version to v3 2021-09-02 20:41:08 +00:00
util.go make additional message strings translatable 2022-01-29 22:36:19 -08:00