I'm using vim 7.3 with
:verbose set history
set to 10000,
but my whole history on a file dissapears when doing git reset --hard or similar operations with git that removes or clears files not added or checked in to git.
Why is that? My normal history is saved in my ~ folder with the following setting in my .vimrc:
set backupdir=~/.vimswp
set swapfile
set dir=~/.vimswp
set undodir=~/.vimswp