This commit is contained in:
Joey Hess 2020-05-25 11:59:21 -04:00
parent 133de41e49
commit e46717bf18
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -3,3 +3,7 @@ Sometimes I start off a large file transfer to a new remote (a la "git-annex cop
I believe all of the special remotes transfer the files one at a time, which is good, and provides a sensible place to interrupt a copy/move operation. I believe all of the special remotes transfer the files one at a time, which is good, and provides a sensible place to interrupt a copy/move operation.
Wish: When I press ctrl+c in the terminal, git-annex will catch that and finish it's current transfer and then exit cleanly (ie: no odd backtraces in the special remote code). For the case where the file currently being transfered also needs to be killed (ie: it's a big .iso) then subsequent ctrl+c's can do that. Wish: When I press ctrl+c in the terminal, git-annex will catch that and finish it's current transfer and then exit cleanly (ie: no odd backtraces in the special remote code). For the case where the file currently being transfered also needs to be killed (ie: it's a big .iso) then subsequent ctrl+c's can do that.
> I'm going to close this, because 6 years later, I just don't think it's a
> good idea. I think that blocking ctrl-c from interrupting the program
> violates least surprise. --[[Joey]]