git-lfs/commands
brian m. carlson 563ad31119
locks: ensure local locks are synced on error
On an error, we call `os.Exit(2)`.  However, the defer for the locking
client that saves the local locks is not called in such a case, which
can leave the locks out of sync even if some of the operation fails.
If we're going to exit early, be sure we close the lock client to avoid
this problem.
2023-02-13 21:02:48 +00:00
..
command_checkout.go commands,lfs,t: scan refs by tree when pruning 2022-04-27 20:25:13 -07:00
command_clean.go commands,lfs*: remove most newlines from messages 2022-01-29 22:32:58 -08:00
command_clone.go subprocess: report errors when finding executables 2022-04-19 09:45:20 -07:00
command_dedup.go commands,lfs,t: scan refs by tree when pruning 2022-04-27 20:25:13 -07:00
command_env.go make additional message strings translatable 2022-01-29 22:36:19 -08:00
command_ext.go commands/command_ext.go: translate ext header only 2022-01-29 22:32:57 -08:00
command_fetch.go commands,lfs,t: scan refs by tree when pruning 2022-04-27 20:25:13 -07:00
command_filter_process.go Support for multiple remotes to solve issue #3835 2022-07-26 16:38:44 +02:00
command_fsck.go commands,t: gitignore matching for fetch filters 2022-04-27 22:13:46 -07:00
command_install.go make additional message strings translatable 2022-01-29 22:36:19 -08:00
command_lock.go locks: ensure local locks are synced on error 2023-02-13 21:02:48 +00:00
command_locks.go commands,git,lfs: rename left/right RefUpdate vars 2022-02-06 21:32:27 -08:00
command_logs.go commands/logs: make strings translatable 2022-01-18 17:03:27 +00:00
command_ls_files.go ls-files: add a --json option 2022-05-11 20:55:56 +00:00
command_merge_driver.go Add a merge driver 2022-05-10 17:05:15 +00:00
command_migrate_export.go commands/migrate: make strings translatable 2022-01-18 17:03:37 +00:00
command_migrate_import.go Merge branch 'main' into extra-git-string-translations 2022-01-31 11:41:17 -08:00
command_migrate_info.go Merge branch 'main' into extra-git-string-translations 2022-01-31 11:41:17 -08:00
command_migrate.go add refs/stash and tests 2022-06-14 20:36:19 -07:00
command_pointer.go avoid extra message format parsing where possible 2022-01-29 22:32:58 -08:00
command_post_checkout.go update inline comments to Go v1.19 doc format 2022-09-25 18:15:31 -07:00
command_post_commit.go commands/post-checkout: make strings translatable 2022-01-18 17:03:37 +00:00
command_post_merge.go commands/post-merge: make strings translatable 2022-01-18 17:03:37 +00:00
command_pre_push.go update inline comments to Go v1.19 doc format 2022-09-25 18:15:31 -07:00
command_prune.go Merge branch 'main' into gitignore-fetch-filters 2022-04-28 11:50:31 -07:00
command_pull.go Condense to one line with newline. 2022-11-10 09:08:04 -05:00
command_push.go update inline comments to Go v1.19 doc format 2022-09-25 18:15:31 -07:00
command_smudge.go commands,t: gitignore matching for fetch filters 2022-04-27 22:13:46 -07:00
command_standalone_file.go Set package version to v3 2021-09-02 20:41:08 +00:00
command_status.go update inline comments to Go v1.19 doc format 2022-09-25 18:15:31 -07:00
command_track.go Add --json output for git lfs track 2022-05-11 20:51:51 +00:00
command_uninstall.go commands/uninstall: make strings translatable 2022-01-18 17:03:48 +00:00
command_unlock.go locks: ensure local locks are synced on error 2023-02-13 21:02:48 +00:00
command_untrack.go commands,config,t: use single quotes in messages 2022-01-29 22:35:10 -08:00
command_update.go make additional message strings translatable 2022-01-29 22:36:19 -08:00
command_version.go Set package version to v3 2021-09-02 20:41:08 +00:00
commands_test.go add refs/stash and tests 2022-06-14 20:36:19 -07:00
commands.go hooks: mention core.hookspath instead of just .git/hooks 2023-01-05 17:08:25 +00:00
lockverifier.go commands,git,lfs: rename left/right RefUpdate vars 2022-02-06 21:32:27 -08:00
multiwriter.go tasklog: check for connected tty on the actual writer 2018-11-14 14:35:29 -08:00
path_nix.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
path_windows.go update inline comments to Go v1.19 doc format 2022-09-25 18:15:31 -07:00
path.go track: use default line endings for core.autocrlf=input 2019-07-16 16:57:21 +00:00
pointers.go Set package version to v3 2021-09-02 20:41:08 +00:00
pull.go commands: avoid remote connections in checkout 2022-12-16 16:28:09 +00:00
run.go Add the FAQ to the documentation 2022-11-08 19:13:28 +00:00
uploader_test.go commands: extract lockVerifier from uploadContext 2017-11-01 17:35:43 -06:00
uploader.go commands/uploader.go: update object skip comments 2022-10-31 12:29:21 -07:00