diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-12-19 21:37:51 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-12-19 21:37:51 -0700 |
commit | d3b1a5848ee1fa5897faaaa705e5b2a5fcfe476a (patch) | |
tree | 1bb14b6709a007ba486fb265da69f89c249d47e2 /bin/annex-drop-files-deleted-by-commit | |
parent | 383bdbda565163619f21facc5db87ed58882e90d (diff) | |
download | dotfiles-d3b1a5848ee1fa5897faaaa705e5b2a5fcfe476a.tar.gz |
attempt to avoid branch creation
Diffstat (limited to 'bin/annex-drop-files-deleted-by-commit')
-rwxr-xr-x | bin/annex-drop-files-deleted-by-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/annex-drop-files-deleted-by-commit b/bin/annex-drop-files-deleted-by-commit index 53e9c2cf..1e98d9aa 100755 --- a/bin/annex-drop-files-deleted-by-commit +++ b/bin/annex-drop-files-deleted-by-commit @@ -50,7 +50,7 @@ if ($ARGV[0] eq '--force') { # go for it my $temp = tempdir(CLEANUP => 1); chmod 0700, $temp; -$git->worktree("add", { force => 1, no_checkout => 1 }, $temp); +$git->worktree("add", { force => 1, no_checkout => 1, detach => 1 }, $temp); my $worktree = Git::Wrapper->new($temp); for (@ARGV) { my ($commit) = $git->rev_parse($_); |