git-lfs/commands
brian m. carlson 56abb7122a
checkout: rewrite path specs on command line
When a user gives a path spec to git lfs checkout on the command line,
we turn it into a pattern and then check out only the files specified.
However, currently the user can specify a directory and things will
work, but in the future, we won't automatically rewrite paths for our
file path filter instances.

To handle this gracefully, let's rewrite paths that refer to a literal
directory as paths referring to every path underneath them.  This lets
users write "." and get everything in the current directory, which is
probably what they wanted.
2021-08-26 15:48:54 +00:00
..
command_checkout.go checkout: rewrite path specs on command line 2021-08-26 15:48:54 +00:00
command_clean.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_clone.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_dedup.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_env.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_ext.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_fetch.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_filter_process.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_fsck.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_install.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_lock.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_locks.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_logs.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_ls_files.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_migrate_export.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_migrate_import.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_migrate_info.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_migrate.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_pointer.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_post_checkout.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_post_commit.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07: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 all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_prune.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_pull.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_push.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_smudge.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_standalone_file.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_status.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_track.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_uninstall.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
command_unlock.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07: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 all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
commands_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
commands.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
lockverifier.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07: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 formatting for Go 1.17 2021-08-17 20:24:58 +02:00
path.go track: use default line endings for core.autocrlf=input 2019-07-16 16:57:21 +00:00
pointers.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
pull.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
run.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
uploader_test.go commands: extract lockVerifier from uploadContext 2017-11-01 17:35:43 -06:00
uploader.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00