Permalink
Commits on Feb 13, 2013
  1. Merge branch 'full-diff'

    committed Feb 13, 2013
  2. Merge branch 'full-diff'

    committed Feb 13, 2013
  3. Key bindings which execute tig prompt commands

    "Internal" run requests now provide a way to add keybindings for tigrc
    and tig prompt commands.  For example:
    
        bind diff F :set diff-options = --full-diff
    
    Much of the change to open_run_request() is increased indentation;
    viewing the diff with whitespace ignored (git show -w or pressing W in
    tig) reveals the simplicity of the functional changes.
    committed Feb 13, 2013
  4. Return a request from open_run_request()

    A boolean return value limits the ability of open_run_request() to
    handle more complex run requests in the future.  The "quit, refresh, or
    do nothing" logic in view_driver(), based on the boolean return value,
    is easily represented by returning REQ_QUIT, REQ_REFRESH, or REQ_NONE
    from open_run_request() itself.  Returning a request also seems more in
    line with workings of other functions which process requests.
    
    The current view is passed to open_run_request(), which enables it to
    return REQ_REFRESH as appropriate.  For the future, this also opens the
    door for other queries and actions on the view.
    committed Feb 13, 2013
  5. After setting an option, refresh the view if possible

    Redrawing is not always enough but is still used as a fallback if the
    view is unrefreshable.
    committed Feb 13, 2013
  6. Support refreshing the diff view by reloading the data

    This allows new diff-options to take effect.  The diff view is still
    unrefreshable when reading data from STDIN.
    committed Feb 12, 2013
  7. Refactor the prompt command handling into a separate function

    Preparation for running prompt commands from keybindings.
    committed Feb 13, 2013
Commits on Feb 11, 2013
  1. Allow overwriting of a previously set "argv" option

    parse_args() is only used by option_set_command() for the two "argv"
    style options: blame-options and diff-options.  Allowing parse_args() to
    overwrite the destination enables ":set diff-options = ..." to work more
    than once from within the tig prompt (or at all if first set via tigrc).
    
    This is safe since argv_copy() handles the necessary freeing, added as
    part of 7dfa0b2.
    committed Feb 11, 2013
Commits on Feb 10, 2013
  1. Add a diff-options config, similar to blame-options

    This is useful for persistent arguments to the diff view instead of
    setting TIG_DIFF_OPTS or always passing them on the command line
    invocation.
    committed Feb 9, 2013
Commits on Jan 3, 2013
  1. Report toggled option *after* refreshing/reloading the view

    This ensures that the report is remains visible in all cases, rather
    than immediately being cleared in some cases.  In particular, toggling
    the diff whitespace behaviour (with W) no longer leaves you unsure of
    the current state.
    committed Jan 3, 2013
  2. Don't clear the status/report line when finishing a piped update

    This appears to be no longer necessary, and a hold over from when
    updates were more verbose at the start of and during processing and
    needed to be cleared when finished (refer to f97f401).
    
    More importantly, the call to report_clear() when the view is done
    updating can hide status messages from the beginning of the update which
    should remain visible past the end (until some other action clears the
    status line).
    committed Jan 3, 2013
Commits on Oct 22, 2012
  1. [GH #93] Fix compile errors reported on old Solaris systems

     - tig.h:81:1: warning: "__NORETURN" redefined
     - tig.c:2468: error: subscripted value is neither array nor pointer
    jonas committed Oct 22, 2012
Commits on Oct 16, 2012
Commits on Oct 14, 2012
  1. Remove unneeded git update-index call

    ... detected with TIG_TRACE.
    jonas committed Oct 13, 2012
Commits on Oct 12, 2012
  1. tig-1.1

    jonas committed Oct 12, 2012
Commits on Oct 1, 2012
  1. Do not show deleted branch when reloading the branch view

    Reported by Vivien.
    jonas committed Oct 1, 2012
  2. Read commit IDs from stdin when opened with --stdin

    Works for the main and diff view. Examples:
    
      $ tig --no-walk --stdin < cherry-picks.txt
      $ git rev-list --author=vivien HEAD | tig show --stdin
    
    Requested by Jean-Baptiste Quenot.
    jonas committed Sep 7, 2012
Commits on Sep 30, 2012
  1. Try to automatically re-run configure script when appropriate

    But, of course, don't try to run it unless we are actually using it!
    
    [ jf: Update NEWS ]
    SamB committed with jonas Sep 7, 2012
  2. Work around a bug in autoreconf 2.61

    SamB committed with jonas Sep 7, 2012
  3. Add "show-deps" make target; rearrange existing dependencies to match…

    … output
    
    The hard-coded dependencies in Makefile were already exactly correct;
    they just weren't alphabetized as gcc -MM alphabetizes them.
    SamB committed with jonas Sep 7, 2012
  4. Make sure that our .m4 file gets included

    That is, make autoconf abort if it's missing.
    SamB committed with jonas Sep 6, 2012