Branch: refs/heads/master
Home: https://github.com/tmux/tmux
Commit: 4289a1ebfa7479413ec5ac543b88c4ea039d00a0
https://github.com/tmux/tmux/commit/4289a1ebfa7479413ec5ac543b88c4ea039d00a0
Author: nicm <nicm>
Date: 2016-10-13 (Thu, 13 Oct 2016)
Changed paths:
M cmd-display-message.c
M cmd-if-shell.c
M cmd-join-pane.c
M cmd-new-session.c
M cmd-new-window.c
M cmd-queue.c
M cmd-source-file.c
M cmd-split-window.c
M cmd-swap-pane.c
M cmd-swap-window.c
M hooks.c
M tmux.1
M tmux.h
Log Message:
-----------
Trying to do hooks generically is way too complicated and unreliable and
confusing, particularly trying to automatically figure out what target
hooks should be using. So simplify it:
- drop before hooks entirely, they don't seem to be very useful;
- commands with special requirements now fire their own after hook (for
example, if they change session or window, or if they have -t and -s
and need to choose which one the hook uses as current target);
- commands with no special requirements can have the CMD_AFTERHOOK flag
added and they will use the -t state.
At the moment new-session, new-window, split-window fire their own hook,
and display-message uses the flag. The remaining commands still need to
be looked at.
Commit: 117737c6cae90d8c53c73fd2440eec17def10bb1
https://github.com/tmux/tmux/commit/117737c6cae90d8c53c73fd2440eec17def10bb1
Author: Thomas Adam <[email protected]>
Date: 2016-10-14 (Fri, 14 Oct 2016)
Changed paths:
M cmd-display-message.c
M cmd-if-shell.c
M cmd-join-pane.c
M cmd-new-session.c
M cmd-new-window.c
M cmd-queue.c
M cmd-source-file.c
M cmd-split-window.c
M cmd-swap-pane.c
M cmd-swap-window.c
M hooks.c
M tmux.1
M tmux.h
Log Message:
-----------
Merge branch 'obsd-master'
Compare: https://github.com/tmux/tmux/compare/a7ce19347a81...117737c6cae9
--
You received this message because you are subscribed to the Google Groups
"tmux-git" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.