The branch, hooks has been updated
       via  2e7210c43e57c20d90eda5e26d248a04123ba3ef (commit)
       via  c030d627c1e8507ddcaf9799c5a1b42ecb0da61a (commit)
      from  384963f23cf7b97f1e9c8961b854f90dccc658b0 (commit)

- Log -----------------------------------------------------------------
commit 2e7210c43e57c20d90eda5e26d248a04123ba3ef
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>

    Missing space.
---
 cmd-set-hook.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cmd-set-hook.c b/cmd-set-hook.c
index 86e6835..511d387 100644
--- a/cmd-set-hook.c
+++ b/cmd-set-hook.c
@@ -32,7 +32,7 @@ enum cmd_retval cmd_set_hook_exec(struct cmd *, struct cmd_q 
*);
 const struct cmd_entry cmd_set_hook_entry = {
        "set-hook", NULL,
        "gt:u", 1, 2,
-       "[-gu]" CMD_TARGET_SESSION_USAGE " hook-name [command]",
+       "[-gu] " CMD_TARGET_SESSION_USAGE " hook-name [command]",
        CMD_PREP_SESSION_T,
        cmd_set_hook_exec
 };


commit c030d627c1e8507ddcaf9799c5a1b42ecb0da61a
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>

    Convert list-windows to new flags.
---
 cmd-list-windows.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmd-list-windows.c b/cmd-list-windows.c
index 5f73e8d..579a29b 100644
--- a/cmd-list-windows.c
+++ b/cmd-list-windows.c
@@ -49,7 +49,7 @@ const struct cmd_entry cmd_list_windows_entry = {
        "list-windows", "lsw",
        "F:at:", 0, 0,
        "[-a] [-F format] " CMD_TARGET_SESSION_USAGE,
-       0,
+       CMD_PREP_SESSION_T,
        cmd_list_windows_exec
 };
 
@@ -62,7 +62,7 @@ cmd_list_windows_exec(struct cmd *self, struct cmd_q *cmdq)
        if (args_has(args, 'a'))
                cmd_list_windows_server(self, cmdq);
        else {
-               s = cmd_find_session(cmdq, args_get(args, 't'), 0);
+               s = cmdq->state.tflag.s;
                if (s == NULL)
                        return (CMD_RETURN_ERROR);
                cmd_list_windows_session(self, s, cmdq, 0);
@@ -81,8 +81,8 @@ cmd_list_windows_server(struct cmd *self, struct cmd_q *cmdq)
 }
 
 void
-cmd_list_windows_session(
-    struct cmd *self, struct session *s, struct cmd_q *cmdq, int type)
+cmd_list_windows_session(struct cmd *self, struct session *s,
+    struct cmd_q *cmdq, int type)
 {
        struct args             *args = self->args;
        struct winlink          *wl;


-----------------------------------------------------------------------

Summary of changes:
 cmd-list-windows.c |    8 ++++----
 cmd-set-hook.c     |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
tmux

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to