Skip to content
Commits on Sep 15, 2008
  1. tig-0.12

  2. Do not show boundary commits by default

    They can cause confusing results when combined with the --author flag.
    If they should be shown the --boundary option should be passed.
Commits on Sep 10, 2008
  1. main: implement refreshing by just rerunning the original command

    Also updates NEWS to mention the fix from last commit.
Commits on Aug 22, 2008
  1. @peff

    Continue updates when pipe read has errno "Success"

    peff committed with
    When we are reading from a pipe and receive a signal, our
    read call fails and ferror() returns true. The current
    behavior is to call end_update and report failure. However,
    we can detect this situation by checking that errno is set
    to success and continue the reading process.
    You can provoke this behavior by running a "tig blame" that
    takes a few seconds and then resizing the terminal that tig
    is running in (you should get an incomplete blame output and
    the error "Failed to read: Success").
    Signed-off-by: Jeff King <>
    Signed-off-by: Jonas Fonseca <>
Commits on Aug 5, 2008
  1. Clean up incomplete commits from main view listed for --no-walk

    When --no-walk is given on the command line by the user it causes
    boundary commits to be output with just the commit line, i.e:
      > git rev-list --pretty=raw --boundary --no-walk HEAD
      commit 60e8ea5
      tree 5b76086e4deaf62d3f7baffc6f49840f61d4e79c
      parent 145194b
      author Jonas Fonseca <> 1217797175 +0200
      committer Jonas Fonseca <> 1217797402 +0200
          Remove the global opt_request variable
      commit -145194bdfc8bf0b58185bbe28bc0097ce429de4d
Commits on Aug 3, 2008
Commits on Jul 23, 2008
  1. @bart9h

    Add option 'author-width' to consumize the width of the author column

    bart9h committed with
    This can be used when the first few characteres are enough to tell the
    authors apart or when the default width is too narrow.
    To set the width of the author column to 10 put the following in the
    ~/.tigrc file:
    	set author-width = 10
Commits on May 2, 2008
  1. Update NEWS

Commits on Apr 28, 2008
  1. Rename the gitlink:[] AsciiDoc macro to manpage:[]

    It breaks for AsciiDoc version 8.2.3.
  2. Fix reopening blame view when it is already loading

    Move call to end_update() if view->pipe is non-NULL from begin_update()
    to open_view() so it is called also for views that defines an open()
    Triggered by Jeff King's "show blame for parent" patch posted to the
    git mailing list in <>.
Commits on Apr 27, 2008
  1. Fix the view notification of end of reading

    Move notification from update_view() to end_update() so <view>_read()
    functions are also called when the user requests that loading views
    are stopped. Allow ends to be forced so the extra spawning in the
    blame view is closed as well.
Commits on Apr 24, 2008
  1. Add stage-next action to jump to next diff chunk that can be staged

    By default bound to '@'. Requested by Pascal Obry.
  2. Make configure check for ncurses header files

    First ncursesw/ncurses.h, then ncurses/ncurses.h, and finally ncurses.h.
    Also include ncurses.h by default instead of curses.h. On most system
    ncurses.h should be a symlink to curses.h and this will avoid the
    problem of including a non-ncurses header file.
    This should fix systems like Solaris who ships their own version of
    /usr/include/curses.h that is incompatible with ncurses.
    Reported by SungHyun Nam.
Commits on Apr 23, 2008
  1. Drop use of $(...) for popen() and system() calls

    Some shells don't support it, like the jsh that is used as /bin/sh on
    some Solaris boxes, which results in the following error:
    	sh: syntax error at line 1: `(' unexpected
    Fix the only user (reading remote information via git-ls-remote) to use
    a much simpler shell syntax.
    Reported by SungHyun Nam.
  2. Add NEWS file

Commits on Apr 22, 2008
  1. Refactor management of the current draw column and max draw width

    Do it in the draw_* functions instead of all the view draw functions.
  2. Use draw_field() for the author field

    This requires that utf8_length() makes the width/column available to
  3. Introduce draw_field() helper for drawing main and blame fields

    It will draw spaces if the passed string is NULL.
  4. blame: simplify handling of incomplete commit information

    Always wait for the final blame information (the commit filename) to be
    read before showing any commit information.
  5. Simplify line attribute handling

     - Add set_view_attr() that wraps calls to wattrset() and does the right
       thing for the selected line. For successive calls without a change of
       the attribute nothing will be done.
     - Make draw_text() take a line attribute since all callers were already
       calling set_view_attr().
    Note: all attribute updates will now also call wchgat() in addition to
Commits on Apr 20, 2008
  1. Keep line graphics characters in a table initialized on startup

    ... and use ACS_VLINE instead of '|' for the revgraph.
Commits on Apr 19, 2008
  1. Add line-graphics option to disable graphics characters for line drawing

    Dominik Vogt committed with
    Signed-off-by: Jonas Fonseca <>
Commits on Apr 17, 2008
  1. Search checks reference names too

    Dominik Vogt committed with
    Do not search for matches in hidden view elements.
    Signed-off-by: Jonas Fonseca <>
  2. Document the main-commit colour option

    Dominik Vogt committed with
    Signed-off-by: Jonas Fonseca <>
  3. Let ncurses take care of expanding tabs by setting its TABSIZE variable

    Rename the default tab size from TABSIZE to TAB_SIZE, since it shadows
    the public ncurses TABSIZE variable which controls how the waddch-family
    expands tabs when drawing. This makes it possible to finally handle
    tabsizes different from 8 for UTF-8.
Commits on Apr 10, 2008
  1. Fix regression from "Improve staging of diff chunks"

    In commit 2349184 the change to
    stage_update reads:
     static bool
     stage_update(struct view *view, struct line *line)
    -       if (!opt_no_head && stage_line_type != LINE_STAT_UNTRACKED &&
    -           (line->type == LINE_DIFF_CHUNK || !stage_status.status)) {
    -               if (!stage_update_chunk(view, line)) {
    where the !stage_status.status part was meant to match whole sections.
    Reinstate this behavior so that pressing 'u' when in the stage view for
    a section of changes it will stage all changed files in that section.
  2. Do not reload status and stage views on errors

    It hides the error message.
Something went wrong with that request. Please try again.