I'm using such sessionopts:
set ssop=blank,buffers,sesdir,folds,localoptions,tabpages,winpos,winsize
The "sesdir" as opposed to "curdir" should store all the paths relative to the directory in which session file is located. Unfortunately there is a line in session file:
args absolute/path/to/file1 absolute/path/to/file2 and/so/on
How do I make vim use only relative paths so I could just put the session file into a git repo and resume my session from any machine?