When running git diff in a tmux window and I split the window, I expect the newly created pane to use the same working directory. Here are my bindings to split the window:
unbind %
bind | split-window -h -c '#{pane_current_path}'
bind - split-window -v -c '#{pane_current_path}'
Everything works fine when running git diff from the root directory of the git repository and splitting the window, but when running git diff in another directory (e.g. src/foo/bar) and I split the window, the newly created pane has a different working directory: the git repository root directory.