diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-12-21 18:13:39 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-12-21 18:13:39 -0700 |
commit | cf894e3d4687bb1b7b21c018ea6aed92e1d089a6 (patch) | |
tree | 614db607aed9bbc3a170bd8ac99dce912459ff71 | |
parent | f82d9fa56d00032e361214a4fb4bf5ce4c9d41da (diff) | |
download | dotfiles-cf894e3d4687bb1b7b21c018ea6aed92e1d089a6.tar.gz |
use no_chdir to hopefully avoid failures to cd
-rwxr-xr-x | bin/annex-to-annex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/annex-to-annex b/bin/annex-to-annex index 87266fe6..3d412ee4 100755 --- a/bin/annex-to-annex +++ b/bin/annex-to-annex @@ -140,7 +140,8 @@ foreach my $source (@sources) { # $commit_dir may no longer exist, as if it was empty, # `git rm` will have removed it $commit_dir = dirname($commit_dir) until -d $commit_dir; - } + }, + no_chdir => 1, }, $source ); |