git-lfs/commands
brian m. carlson e6c9d1de19
commands/fsck: allow scanning revision ranges
Currently, git lfs fsck operates only on the HEAD and index.  For
objects, this is usually the right decision, since only objects for HEAD
are checked out.

However, for pointers, this may not be desired.  A user may want to
check pointers for a range of commits, such as during a CI job.  To deal
with these cases, let a user specify a revision or a simple range of
revisions to operate on, and process those revisions.

Note that we don't currently process the index with --pointers because
this requires a completely different set of scanners which are not yet
implemented.  We can implement such a feature in a future revision if
desired.

In the tests, refactor out our setup code into a function for reuse in
multiple tests.
2021-07-14 18:16:51 +00:00
..
command_checkout.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_clean.go progress,tools: move CopyCallback (and related) to 'tools' 2017-11-22 14:08:33 -08:00
command_clone.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_dedup.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_env.go commands: canonicalize certain Git environment variables 2020-10-14 16:49:23 +00:00
command_ext.go update package imports 2016-11-15 10:01:18 -07:00
command_fetch.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_filter_process.go commands: close TransferQueue when items processed 2020-02-12 19:20:45 +03:00
command_fsck.go commands/fsck: allow scanning revision ranges 2021-07-14 18:16:51 +00:00
command_install.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_lock.go lock: handle absolute paths properly 2021-07-01 17:30:20 +00:00
command_locks.go locking: "locks --verify" supports "--cached" 2019-03-28 10:12:41 +01:00
command_logs.go remove reliance on global config filesystem vars 2017-10-18 18:09:33 -06:00
command_ls_files.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_migrate_export.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_migrate_import.go migrate import: make --above affect only individual files 2021-05-25 15:13:21 +00:00
command_migrate_info.go commands,docs,t: add migrate info --fixup option 2021-05-16 22:34:47 -07:00
command_migrate.go commands,docs,t: add migrate info --fixup option 2021-05-16 22:34:47 -07:00
command_pointer.go commands/pointer: add an option for strict checking 2021-07-14 18:12:07 +00:00
command_post_checkout.go Update usage info for post-checkout 2018-01-19 21:28:09 -05:00
command_post_commit.go commands: remove any cfg.Remote() calls from Command flags 2017-10-27 15:07:36 -06:00
command_post_merge.go commands: remove any cfg.Remote() calls from Command flags 2017-10-27 15:07:36 -06:00
command_pre_push.go Add GIT_LFS_SKIP_PUSH to allow skipping the pre-push hook 2020-09-29 09:46:49 +02:00
command_prune.go prune: add options to be more aggressive about pruning 2021-01-13 19:30:40 +00:00
command_pull.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_push.go commands: change default branch name 2021-02-01 21:37:32 +00:00
command_smudge.go commands: don't try to upload or download zero-length pointers 2021-07-14 18:12:06 +00:00
command_standalone_file.go Provide support for file URLs via a transfer agent 2019-08-02 17:23:47 +00:00
command_status.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_track.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_uninstall.go add per-worktree configuration option 2020-06-26 14:56:04 -07:00
command_unlock.go locking: reject multiple paths 2021-07-01 17:30:03 +00:00
command_untrack.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_update.go commands: make sure we're in the working tree 2020-10-14 20:58:28 +00:00
command_version.go lfsapi: extract new lfshttp package 2018-09-11 14:51:29 -07:00
commands_test.go commands: don't honor lfs.fetch* for ls-files 2020-03-31 13:55:24 +00:00
commands.go Use tools.CanonicalizeSystemPath to canonicalize paths 2021-03-01 22:10:19 +00:00
lockverifier.go locking: "locks --verify" supports "--cached" 2019-03-28 10:12:41 +01:00
multiwriter.go tasklog: check for connected tty on the actual writer 2018-11-14 14:35:29 -08:00
path_nix.go commands: osLineEnding() is more descriptive 2017-02-03 17:50:47 -07:00
path_windows.go commands: osLineEnding() is more descriptive 2017-02-03 17:50:47 -07:00
path.go track: use default line endings for core.autocrlf=input 2019-07-16 16:57:21 +00:00
pointers.go each command should open and close a gitscanner just once 2016-11-17 17:22:21 -07:00
pull.go pull: gracefully handle merge conflicts 2020-10-22 20:56:31 +00:00
run.go commands: canonicalize certain Git environment variables 2020-10-14 16:49:23 +00:00
uploader_test.go commands: extract lockVerifier from uploadContext 2017-11-01 17:35:43 -06:00
uploader.go commands: don't try to upload or download zero-length pointers 2021-07-14 18:12:06 +00:00