git-lfs/tools
Kazuki MATSUDA / 松田一樹 e4d49352be
NON-ISSUE Use FICLONE instead of BTRFS_IOC_CLONE.
Sorry it's my miss-understanding that we should use FICLONE first and fallback to BTRFS_IOC_CLONE.
Actually, FICILONE is equal to BTRFS_IOC_CLONE.

So we already support copy-on-write also XFS not only Btrfs.

In this commit, let me use standarized name `FICILONE` instead of `BTRFS_IOC_CLONE`.

FICILONE definition:
----

`#define FICLONE		_IOW(0x94, 9, int)`  in https://github.com/torvalds/linux/blob/v5.2/include/uapi/linux/fs.h#L195

BTRFS_IOC_CLONE definition:
----

`#define BTRFS_IOC_CLONE        _IOW(BTRFS_IOCTL_MAGIC, 9, int)` in https://github.com/torvalds/linux/blob/v5.2/include/uapi/linux/btrfs.h#L850

and

`#define BTRFS_IOCTL_MAGIC 0x94` in https://github.com/torvalds/linux/blob/v5.2/include/uapi/linux/btrfs.h#L25
2019-08-29 10:01:25 +09:00
..
humanize Fix humanize's FormatByteRate() to work with 0s duration 2018-10-24 15:02:40 +00:00
kv NON-ISSUE Update deprecated SEEK_SET, SEEK_CUR usage. 2019-07-27 12:48:42 +09:00
channels.go extract base channel wrapper to tools 2016-11-18 12:02:38 -07:00
copycallback_test.go progress,tools: move CopyCallback (and related) to 'tools' 2017-11-22 14:08:33 -08:00
copycallback.go progress,tools: move CopyCallback (and related) to 'tools' 2017-11-22 14:08:33 -08:00
cygwin_windows.go tools: detect MINGW as Cygwin 2019-08-02 17:23:46 +00:00
cygwin.go tools: wrap os.Getwd with cygwin support 2017-02-20 15:25:43 -07:00
filetools_test.go config: allow fetching repo permissions for directories 2018-12-13 17:01:04 +00:00
filetools.go walker: don't recurse into submodules 2019-06-14 17:26:29 +00:00
iotools_test.go update package imports 2016-11-15 10:01:18 -07:00
iotools.go progress,tools: move CopyCallback (and related) to 'tools' 2017-11-22 14:08:33 -08:00
math_test.go tools/math: teach tools.ClampInt to clamp integers 2017-06-09 17:56:21 -06:00
math.go tools/math: teach tools.ClampInt to clamp integers 2017-06-09 17:56:21 -06:00
ordered_set_test.go tools: introduce tools.OrderedSet 2017-06-21 16:50:19 -06:00
ordered_set.go tools: introduce tools.OrderedSet 2017-06-21 16:50:19 -06:00
os_tools.go tools: rename TranslateIfCygwin to TranslateCygwinPath 2017-02-28 13:39:33 -08:00
str_tools_test.go tools: move ShellQuote to subprocess 2018-09-14 21:50:09 +00:00
str_tools.go tools: move ShellQuote to subprocess 2018-09-14 21:50:09 +00:00
stringset.go Fix Typos 2019-07-24 07:17:40 +00:00
sync_writer.go tools: add empty functions when missing in *SyncWriter 2017-12-01 09:39:02 -08:00
time_tools_test.go tools/time_tools: test tools.IsExpiredAtOrIn 2017-04-06 13:38:31 -06:00
time_tools.go tools: compare expiration to "time.Now" instead of "from" 2017-08-25 14:48:33 -04:00
umask_nix.go tools: add function to make directories honoring core.sharedRepository 2018-12-13 17:51:02 +00:00
umask_windows.go tools: add function to make directories honoring core.sharedRepository 2018-12-13 17:51:02 +00:00
util_darwin_test.go Add new command git lfs dedup for file system level deduplication. 2019-08-19 10:44:37 +09:00
util_darwin.go Add new command git lfs dedup for file system level deduplication. 2019-08-19 10:44:37 +09:00
util_generic.go Add clonefile implementation on Windows with ReFS. 2019-08-27 12:30:01 +09:00
util_linux.go NON-ISSUE Use FICLONE instead of BTRFS_IOC_CLONE. 2019-08-29 10:01:25 +09:00
util_test.go Add new command git lfs dedup for file system level deduplication. 2019-08-19 10:44:37 +09:00
util_windows_test.go Add clonefile implementation on Windows with ReFS. 2019-08-27 12:30:01 +09:00
util_windows.go Add clonefile implementation on Windows with ReFS. 2019-08-27 12:30:01 +09:00