git-annex/doc/todo/ctrl_c_handling.mdwn
2020-05-25 11:59:21 -04:00

9 lines
756 B
Markdown

Sometimes I start off a large file transfer to a new remote (a la "git-annex copy . --to glacier").
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.
> 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]]