Setting and using Sublime Text 2 as the git editor does not wait correctly within a tmux session.

$ tmux
$ export EDITOR="subl -w" 
$ git rebase HEAD^ -i (close file, terminal hangs)

If the EDITOR is set without the wait, then the file is opened in ST2 as before, but then of course the rebase then gets applied immediately within the shell.

Edit
Report