Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 15, 2008
  1. @jonas

    tig-0.12

    jonas authored
  2. @jonas

    Do not show boundary commits by default

    jonas authored
    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. @jonas

    main: implement refreshing by just rerunning the original command

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

    Continue updates when pipe read has errno "Success"

    peff authored jonas committed
    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 <peff@peff.net>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Aug 5, 2008
  1. @jonas

    Clean up incomplete commits from main view listed for --no-walk

    jonas authored
    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 <fonseca@diku.dk> 1217797175 +0200
      committer Jonas Fonseca <fonseca@diku.dk> 1217797402 +0200
    
          Remove the global opt_request variable
    
      commit -145194bdfc8bf0b58185bbe28bc0097ce429de4d
Commits on Aug 3, 2008
  1. @jonas
  2. @jonas
Commits on Jul 23, 2008
  1. @jonas
  2. @bart9h @jonas

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

    bart9h authored jonas committed
    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. @jonas
  2. @jonas

    Update NEWS

    jonas authored
  3. @jonas
Commits on Apr 28, 2008
  1. @jonas

    Rename the gitlink:[] AsciiDoc macro to manpage:[]

    jonas authored
    It breaks for AsciiDoc version 8.2.3.
  2. @jonas

    Fix reopening blame view when it is already loading

    jonas authored
    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()
    operation.
    
    Triggered by Jeff King's "show blame for parent" patch posted to the
    git mailing list in <20080410040213.GA29618@sigill.intra.peff.net>.
Commits on Apr 27, 2008
  1. @jonas

    Fix the view notification of end of reading

    jonas authored
    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.
  2. @jonas
Commits on Apr 24, 2008
  1. @jonas

    Add stage-next action to jump to next diff chunk that can be staged

    jonas authored
    By default bound to '@'. Requested by Pascal Obry.
  2. @jonas

    Make configure check for ncurses header files

    jonas authored
    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. @jonas

    Drop use of $(...) for popen() and system() calls

    jonas authored
    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. @jonas

    Add NEWS file

    jonas authored
Commits on Apr 22, 2008
  1. @jonas
  2. @jonas

    Refactor management of the current draw column and max draw width

    jonas authored
    Do it in the draw_* functions instead of all the view draw functions.
  3. @jonas

    Use draw_field() for the author field

    jonas authored
    This requires that utf8_length() makes the width/column available to
    draw_text().
  4. @jonas

    Introduce draw_field() helper for drawing main and blame fields

    jonas authored
    It will draw spaces if the passed string is NULL.
  5. @jonas
  6. @jonas

    blame: simplify handling of incomplete commit information

    jonas authored
    Always wait for the final blame information (the commit filename) to be
    read before showing any commit information.
  7. @jonas

    Simplify line attribute handling

    jonas authored
     - 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
    wattrset().
Commits on Apr 20, 2008
  1. @jonas

    Keep line graphics characters in a table initialized on startup

    jonas authored
    ... and use ACS_VLINE instead of '|' for the revgraph.
Commits on Apr 19, 2008
  1. @jonas

    Add line-graphics option to disable graphics characters for line drawing

    Dominik Vogt authored jonas committed
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Apr 17, 2008
  1. @jonas

    Search checks reference names too

    Dominik Vogt authored jonas committed
    Do not search for matches in hidden view elements.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  2. @jonas

    Document the main-commit colour option

    Dominik Vogt authored jonas committed
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  3. @jonas

    Let ncurses take care of expanding tabs by setting its TABSIZE variable

    jonas authored
    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. @jonas
  2. @jonas

    Fix regression from "Improve staging of diff chunks"

    jonas authored
    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.
  3. @jonas

    Do not reload status and stage views on errors

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