Permalink
Commits on Mar 17, 2008
  1. tig-0.10

    jonas committed Mar 17, 2008
  2. Make command line parsing more compatible with gitk

    Many of the command line arguments are relics from the beginning of the
    project and served as a method of configuring tig before support for the
    configuration file was introduced. Since then they have become less
    useful and make tig less compatible with gitk and other git repo
    viewers.
    
    This commit tries to fix this by deprecating all command line arguments
    except the very tig specific version and help arguments. The option to
    enter the status view (-S) is moved to a new "status" subcommand. Tig
    will warn about the deprecation and advise -S users to use the new
    subcommand. The handling of "--" is kept as it is for compatibility, but
    will be removed in a future version. Finally, the man page and manual
    was updated to reflect the new options and subcommands.
    
    So enjoy the new less cludgy `tig --all' ... I will! :)
    jonas committed Feb 7, 2008
Commits on Mar 16, 2008
  1. Add system-wide configuration file and new config file environment vars

    Introduced envvars TIGRC_USER and TIGRC_SYSTEM to control which config
    file is used. The default user specific config file can be overridden
    with TIGRC_USER.  Before loading the user config file, tig now looks for
    a system wide config file ($(sysconfdir)/tirgc by default). This can be
    overridden with the environment variable TIGRC_SYSTEM.
    
    Also corrected a small mistake in the Makefile. Instead of setting
    CFLAGS for '-D...' compiler options, use CPPFLAGS.
    
    [ The original code from Dominik was changed so that tig always reads
      the system-wide configuration file. The documentation was improved
      so the configured sysconfdir is used in the generated documentation.
      -- jonas ]
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Dominik Vogt committed with jonas Dec 27, 2007
  2. Make it possible to overwrite the default (terminal) colors

    Use the setting of the "default" color pair to set the default colors of
    the terminal via assume_default_colors(). Fall back to white on black.
    With this it is possible to no longer use the terminal colors if
    desired.
    
    This was requested by Sebastian Harl as a way to fix Debian bug 399884.
    jonas committed Mar 16, 2008
Commits on Feb 6, 2008
  1. Add support for showing boundary commits in the main view

    The boundary commits are marked using a "^" character, which hopefully
    is somewhat intuitive and familiar since git revision specification uses
    it as its cut-off prefix.
    jonas committed Feb 6, 2008
  2. Drop -B from diff options

    My main motivation is a recent (almost) rewrite where I actually wanted
    to see a "real" diff instead of a rewrite diff.
    jonas committed Feb 6, 2008
Commits on Feb 5, 2008
  1. Replace the manpage XSL workarounds with AsciiDoc conf workarounds

    This is a lot simpler and generates better manpages (with the required
    documentation tools). The XSL stuff was a nightmarish adventure, anyway.
    Of course this probably breaks documentation building on some systems.
    jonas committed Feb 5, 2008
  2. Update manpages to not contain contain so many formatting workarounds

    ... like indentation. However, the '.git/config' thing no longer works.
    jonas committed Feb 5, 2008
  3. Added examples to tig(1) manpage

    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Dominik Vogt committed with jonas Dec 27, 2007
  4. Install manpages in $(prefix)/share/man

    ... instead of just $(prefix)/man. This location is also used by git.
    jonas committed Feb 5, 2008
  5. Updated .gitignore

    [ Also ignore XML files. ]
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Dominik Vogt committed with jonas Dec 27, 2007
  6. Removed trailing whitespace.

    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Dominik Vogt committed with jonas Dec 27, 2007
Commits on Nov 2, 2007
  1. Added action tree-parent and bound it to backspace by default.

    This allow to leave the current directory in the tree view and change to
    the parent tree / directory. At the top of the tree, this closes the tree
    view. Bound to ',' by default.
    
    Example:
    
      bind tree Left tree-parent
      bind tree Right Enter
      bind blob Left view-close
    
    This allows to navigate the tree and blob views just with the cursor keys.
    
    [ Cleanup the patch a bit and mention the default keybinding in
      manual.txt --jonas ]
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    Dominik Vogt committed with jonas Nov 1, 2007
Commits on Nov 1, 2007
  1. Added color option main-revgraph to color the revision graph.

    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    domivogt committed with jonas Oct 29, 2007
Commits on Oct 29, 2007
  1. Add documentation for undocumented color options.

    pp-refs
    tree-dir, tree-file
    stat-section, stat-none, stat-staged, stat-unstaged, stat-untracked
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    domivogt committed with jonas Oct 29, 2007
  2. Minor formatting and spelling fixes.

    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    domivogt committed with jonas Oct 29, 2007
Commits on Oct 18, 2007
  1. Ignore HTML files in general

    jonas committed Oct 18, 2007
  2. manual: remove section on porcelains

    People should already know git and Cogito is being phased out.
    jonas committed Oct 18, 2007
  3. Makefile: add ASCIIDOC_FLAGS

    ... so that under Cygwin it can be set to --unsafe, in order for
    asciidoc to work.
    
    Signed-off-by: Jari Aalto <jari.aalto@cante.net>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    jaalto committed with jonas Oct 18, 2007
  4. Avoid using git-diff since it might run external diff drivers

    Relying only on the diff plumbing seems to be the safer thing to do.
    jonas committed Oct 18, 2007
Commits on Oct 13, 2007
  1. Use --no-color option when calling git-log and git-diff

    This fixes problems when user has set color.diff=true. The problem was
    first reported for gitk on the git mailing list.
    jonas committed Oct 13, 2007
Commits on Oct 10, 2007
Commits on Oct 9, 2007
  1. Use get_key_name() in get_key()

    It was factored out in the external command patch.
    jonas committed Oct 9, 2007
  2. Add missing = for comparison in obsolete actions check

    Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
    James Bowes committed with jonas Oct 9, 2007
Commits on Oct 7, 2007
  1. Collect remaining string in last entry when parsing config file lines

    This raises the length of external commands to what fits in the command
    buffer (1024 characters).
    jonas committed Oct 7, 2007
Commits on Oct 6, 2007
  1. Add support binding keys to running external commands

    Each command can have replacement string such as %(commit), %(head), and
    %(blob), which are substituted before the command is run.
    jonas committed Oct 6, 2007
Commits on Sep 29, 2007
  1. tig-0.10.git

    jonas committed Sep 29, 2007
  2. tig-0.9.1

    jonas committed Sep 29, 2007