Code

tig.git
16 years agoupdate_view: Check the pipes and call end_update() before redrawing
Jonas Fonseca [Wed, 15 Oct 2008 08:14:33 +0000 (10:14 +0200)]
update_view: Check the pipes and call end_update() before redrawing

This allows the main view to finish its updating of the revision graph
so that it is rendered properly for the last commit. As a bonus, it also
removes a goto.

16 years agoUse "--" to separate file argument to git-checkout
Jonas Fonseca [Tue, 14 Oct 2008 05:55:05 +0000 (07:55 +0200)]
Use "--" to separate file argument to git-checkout

16 years agoCleanup and fix the main loop to make view point to the current view
Jonas Fonseca [Sat, 11 Oct 2008 12:14:48 +0000 (14:14 +0200)]
Cleanup and fix the main loop to make view point to the current view

16 years agoUpdate and improve the manual
Jonas Fonseca [Sat, 11 Oct 2008 10:24:16 +0000 (12:24 +0200)]
Update and improve the manual

Especially the section on external commands and commands from the
environment is reworked. The section on the viewer is moved up.

16 years agoRemove documentation relicts from before the option parsing was changed
Jonas Fonseca [Fri, 10 Oct 2008 19:30:16 +0000 (21:30 +0200)]
Remove documentation relicts from before the option parsing was changed

16 years agoIntroduce prefixcmp macro to reduce code verbosity
Jonas Fonseca [Fri, 10 Oct 2008 17:34:11 +0000 (19:34 +0200)]
Introduce prefixcmp macro to reduce code verbosity

16 years agoSeparate blame revision and file argument by "--" to avoid problems
Jonas Fonseca [Fri, 10 Oct 2008 12:00:47 +0000 (14:00 +0200)]
Separate blame revision and file argument by "--" to avoid problems

16 years agoAdd bash completion for the blame subcommand
Jonas Fonseca [Fri, 10 Oct 2008 11:43:16 +0000 (13:43 +0200)]
Add bash completion for the blame subcommand

16 years agoRemove outdated comment
Jonas Fonseca [Fri, 10 Oct 2008 11:10:04 +0000 (13:10 +0200)]
Remove outdated comment

16 years agoMake more strings const
Jonas Fonseca [Thu, 9 Oct 2008 12:05:55 +0000 (14:05 +0200)]
Make more strings const

16 years agoSort references in the order: tags, heads, tracked remotes, remotes
Jonas Fonseca [Thu, 9 Oct 2008 11:09:28 +0000 (13:09 +0200)]
Sort references in the order: tags, heads, tracked remotes, remotes

16 years agotig-0.12.1
Jonas Fonseca [Wed, 8 Oct 2008 12:29:25 +0000 (14:29 +0200)]
tig-0.12.1

16 years agoRename checkout to revert and support individual diff chunks reverts
Jonas Fonseca [Tue, 7 Oct 2008 23:00:12 +0000 (01:00 +0200)]
Rename checkout to revert and support individual diff chunks reverts

16 years agoAvoid triggering assertion failure when reloading the status view
Jonas Fonseca [Tue, 7 Oct 2008 18:43:24 +0000 (20:43 +0200)]
Avoid triggering assertion failure when reloading the status view

After staging a diff chunk, the stage view automatically reloads the
status view. If the staging happened while the status view is not
displayed an assertion failure is triggered by draw_view_line(). Fix it
by only conditionally redrawing the view in open_view().

16 years agoConsolidate and share view resetting via new reset_view()
Jonas Fonseca [Tue, 7 Oct 2008 18:42:23 +0000 (20:42 +0200)]
Consolidate and share view resetting via new reset_view()

16 years agoHelp view: move requests from the Misc group into separate groups
Jonas Fonseca [Tue, 7 Oct 2008 18:04:26 +0000 (20:04 +0200)]
Help view: move requests from the Misc group into separate groups

16 years agoHelp view: use "(no key)" instead of "'?'" to not confuse unbound actions
Jonas Fonseca [Tue, 7 Oct 2008 17:24:28 +0000 (19:24 +0200)]
Help view: use "(no key)" instead of "'?'" to not confuse unbound actions

16 years agoClear the status line when closing a view
Jonas Fonseca [Tue, 7 Oct 2008 16:59:03 +0000 (18:59 +0200)]
Clear the status line when closing a view

Avoids confusion from stale messages.

16 years agoFix bug introduced in commit for using --exclude-standard flag
Jonas Fonseca [Tue, 7 Oct 2008 12:18:01 +0000 (14:18 +0200)]
Fix bug introduced in commit for using --exclude-standard flag

Introduced in commit 33623c0022b49a5f2774b37a58726a95a4367447. The bug
is reproducible when running tig status in a newly created repository.

16 years agoAdd support for refreshing the log view
Jonas Fonseca [Tue, 7 Oct 2008 10:28:01 +0000 (12:28 +0200)]
Add support for refreshing the log view

16 years agoMake OPEN_REFRESH imply OPEN_NOMAXIMIZE
Jonas Fonseca [Tue, 7 Oct 2008 10:23:48 +0000 (12:23 +0200)]
Make OPEN_REFRESH imply OPEN_NOMAXIMIZE

... so the main view keeps its dimension when refreshing with the diff
view open.

16 years agoSimplify view refreshing by adding new OPEN_REFRESH flag for open_view
Jonas Fonseca [Tue, 7 Oct 2008 10:08:54 +0000 (12:08 +0200)]
Simplify view refreshing by adding new OPEN_REFRESH flag for open_view

16 years agoShow complete shortlog for small releases
Jonas Fonseca [Mon, 6 Oct 2008 21:27:38 +0000 (23:27 +0200)]
Show complete shortlog for small releases

16 years agoImprove checkout error reporting
Jonas Fonseca [Mon, 6 Oct 2008 20:09:42 +0000 (22:09 +0200)]
Improve checkout error reporting

16 years agoCleanup and make option argument strings const
Jonas Fonseca [Mon, 6 Oct 2008 19:29:20 +0000 (21:29 +0200)]
Cleanup and make option argument strings const

16 years agoImprove handling of unmatched quotes in ~/.tigrc
Jonas Fonseca [Mon, 6 Oct 2008 19:28:50 +0000 (21:28 +0200)]
Improve handling of unmatched quotes in ~/.tigrc

16 years agoMake GIT_CONFIG only contain the config subcommand
Jonas Fonseca [Mon, 6 Oct 2008 19:00:58 +0000 (21:00 +0200)]
Make GIT_CONFIG only contain the config subcommand

16 years agoReload repository references when refreshing the main view
Jonas Fonseca [Mon, 6 Oct 2008 11:11:21 +0000 (13:11 +0200)]
Reload repository references when refreshing the main view

16 years agoAvoid refreshing views when checkout is canceled by user
Jonas Fonseca [Wed, 1 Oct 2008 15:39:52 +0000 (17:39 +0200)]
Avoid refreshing views when checkout is canceled by user

16 years agoAlso allow files to be checked out from stage view
Jonas Fonseca [Wed, 1 Oct 2008 15:30:37 +0000 (17:30 +0200)]
Also allow files to be checked out from stage view

16 years agoCleanup exclude rule setup by using ls-files --exclude-standard flag
Jonas Fonseca [Tue, 30 Sep 2008 14:57:28 +0000 (16:57 +0200)]
Cleanup exclude rule setup by using ls-files --exclude-standard flag

This makes user specific ignore rules effective in the status view.

16 years agoMain: use --topo-order when arguments are given on the command line
Jonas Fonseca [Tue, 30 Sep 2008 14:21:42 +0000 (16:21 +0200)]
Main: use --topo-order when arguments are given on the command line

16 years agomain: automatically refresh after run requests
Jonas Fonseca [Sun, 21 Sep 2008 16:59:57 +0000 (18:59 +0200)]
main: automatically refresh after run requests

16 years agostatus: add support for checking out files with unstaged changes
Jonas Fonseca [Sun, 21 Sep 2008 11:15:25 +0000 (13:15 +0200)]
status: add support for checking out files with unstaged changes

16 years agoTODO: support for jumping to parents' blame in the blame view
Jonas Fonseca [Mon, 15 Sep 2008 19:26:04 +0000 (21:26 +0200)]
TODO: support for jumping to parents' blame in the blame view

16 years agoAdd script for preparing release announcements
Jonas Fonseca [Mon, 15 Sep 2008 19:23:26 +0000 (21:23 +0200)]
Add script for preparing release announcements

16 years agotig-0.12
Jonas Fonseca [Mon, 15 Sep 2008 18:39:32 +0000 (20:39 +0200)]
tig-0.12

16 years agoDo not show boundary commits by default
Jonas Fonseca [Mon, 15 Sep 2008 18:35:51 +0000 (20:35 +0200)]
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.

16 years agomain: implement refreshing by just rerunning the original command
Jonas Fonseca [Wed, 10 Sep 2008 13:46:51 +0000 (15:46 +0200)]
main: implement refreshing by just rerunning the original command

Also updates NEWS to mention the fix from last commit.

16 years agoContinue updates when pipe read has errno "Success"
Jeff King [Thu, 21 Aug 2008 01:40:44 +0000 (21:40 -0400)]
Continue updates when pipe read has errno "Success"

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>
16 years agoClean up incomplete commits from main view listed for --no-walk
Jonas Fonseca [Tue, 5 Aug 2008 21:40:21 +0000 (23:40 +0200)]
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 60e8ea56880fc2e42008075d516c356ef605bc60
  tree 5b76086e4deaf62d3f7baffc6f49840f61d4e79c
  parent 145194bdfc8bf0b58185bbe28bc0097ce429de4d
  author Jonas Fonseca <fonseca@diku.dk> 1217797175 +0200
  committer Jonas Fonseca <fonseca@diku.dk> 1217797402 +0200

      Remove the global opt_request variable

  commit -145194bdfc8bf0b58185bbe28bc0097ce429de4d

16 years agoRemove the global opt_request variable
Jonas Fonseca [Sun, 3 Aug 2008 20:59:35 +0000 (22:59 +0200)]
Remove the global opt_request variable

16 years agoTODO: Option for abbreviating author names using just the initials
Jonas Fonseca [Sun, 3 Aug 2008 20:38:46 +0000 (22:38 +0200)]
TODO: Option for abbreviating author names using just the initials

16 years agoGracefully ignore negative values given to options in ~/.tigrc
Jonas Fonseca [Wed, 23 Jul 2008 17:23:12 +0000 (19:23 +0200)]
Gracefully ignore negative values given to options in ~/.tigrc

16 years agoAdd option 'author-width' to consumize the width of the author column
Rodolfo Borges [Thu, 15 May 2008 21:37:37 +0000 (18:37 -0300)]
Add option 'author-width' to consumize the width of the author column

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

16 years agoINSTALL: Mention the release notes in the NEWS file
Jonas Fonseca [Fri, 2 May 2008 22:29:51 +0000 (00:29 +0200)]
INSTALL: Mention the release notes in the NEWS file

16 years agoUpdate NEWS
Jonas Fonseca [Fri, 2 May 2008 22:09:16 +0000 (00:09 +0200)]
Update NEWS

16 years agoRemove useless check in blame_read_file()
Jonas Fonseca [Fri, 2 May 2008 22:01:59 +0000 (00:01 +0200)]
Remove useless check in blame_read_file()

16 years agoRename the gitlink:[] AsciiDoc macro to manpage:[]
Jonas Fonseca [Mon, 28 Apr 2008 21:26:58 +0000 (23:26 +0200)]
Rename the gitlink:[] AsciiDoc macro to manpage:[]

It breaks for AsciiDoc version 8.2.3.

16 years agoFix reopening blame view when it is already loading
Jonas Fonseca [Mon, 28 Apr 2008 19:05:47 +0000 (21:05 +0200)]
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()
operation.

Triggered by Jeff King's "show blame for parent" patch posted to the
git mailing list in <20080410040213.GA29618@sigill.intra.peff.net>.

16 years agoFix the view notification of end of reading
Jonas Fonseca [Sun, 27 Apr 2008 22:21:07 +0000 (00:21 +0200)]
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.

16 years agoMakefile: remove bashism from distclean rule
Jonas Fonseca [Sun, 27 Apr 2008 09:03:05 +0000 (11:03 +0200)]
Makefile: remove bashism from distclean rule

16 years agoAdd stage-next action to jump to next diff chunk that can be staged
Jonas Fonseca [Thu, 24 Apr 2008 08:07:34 +0000 (10:07 +0200)]
Add stage-next action to jump to next diff chunk that can be staged

By default bound to '@'. Requested by Pascal Obry.

16 years agoMake configure check for ncurses header files
Jonas Fonseca [Wed, 23 Apr 2008 21:49:25 +0000 (23:49 +0200)]
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.

16 years agoDrop use of $(...) for popen() and system() calls
Jonas Fonseca [Wed, 23 Apr 2008 19:14:08 +0000 (21:14 +0200)]
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.

16 years agoAdd NEWS file
Jonas Fonseca [Sun, 20 Apr 2008 21:51:37 +0000 (23:51 +0200)]
Add NEWS file

16 years agoFix warnings emitted with -pedantic
Jonas Fonseca [Wed, 19 Mar 2008 19:08:38 +0000 (20:08 +0100)]
Fix warnings emitted with -pedantic

16 years agoRefactor management of the current draw column and max draw width
Jonas Fonseca [Fri, 4 Apr 2008 17:22:58 +0000 (19:22 +0200)]
Refactor management of the current draw column and max draw width

Do it in the draw_* functions instead of all the view draw functions.

16 years agoUse draw_field() for the author field
Jonas Fonseca [Tue, 22 Apr 2008 12:11:33 +0000 (14:11 +0200)]
Use draw_field() for the author field

This requires that utf8_length() makes the width/column available to
draw_text().

16 years agoIntroduce draw_field() helper for drawing main and blame fields
Jonas Fonseca [Tue, 22 Apr 2008 12:08:34 +0000 (14:08 +0200)]
Introduce draw_field() helper for drawing main and blame fields

It will draw spaces if the passed string is NULL.

16 years agoRefactor revgraph drawing into draw_graphic()
Jonas Fonseca [Tue, 22 Apr 2008 11:18:48 +0000 (13:18 +0200)]
Refactor revgraph drawing into draw_graphic()

16 years agoblame: simplify handling of incomplete commit information
Jonas Fonseca [Tue, 22 Apr 2008 10:57:02 +0000 (12:57 +0200)]
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.

16 years agoSimplify line attribute handling
Jonas Fonseca [Mon, 21 Apr 2008 19:17:36 +0000 (21:17 +0200)]
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
wattrset().

16 years agoKeep line graphics characters in a table initialized on startup
Jonas Fonseca [Sun, 20 Apr 2008 21:34:07 +0000 (23:34 +0200)]
Keep line graphics characters in a table initialized on startup

... and use ACS_VLINE instead of '|' for the revgraph.

16 years agoAdd line-graphics option to disable graphics characters for line drawing
Dominik Vogt [Mon, 7 Apr 2008 20:15:03 +0000 (22:15 +0200)]
Add line-graphics option to disable graphics characters for line drawing

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
16 years agoSearch checks reference names too
Dominik Vogt [Mon, 7 Apr 2008 11:34:53 +0000 (13:34 +0200)]
Search checks reference names too

Do not search for matches in hidden view elements.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
16 years agoDocument the main-commit colour option
Dominik Vogt [Mon, 7 Apr 2008 12:20:25 +0000 (14:20 +0200)]
Document the main-commit colour option

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
16 years agoLet ncurses take care of expanding tabs by setting its TABSIZE variable
Jonas Fonseca [Thu, 17 Apr 2008 12:11:59 +0000 (14:11 +0200)]
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.

16 years agoRefreshing the current view when F5 is pressed (like gitk)
Jonas Fonseca [Thu, 10 Apr 2008 21:59:49 +0000 (23:59 +0200)]
Refreshing the current view when F5 is pressed (like gitk)

16 years agoFix regression from "Improve staging of diff chunks"
Jonas Fonseca [Thu, 10 Apr 2008 21:51:57 +0000 (23:51 +0200)]
Fix regression from "Improve staging of diff chunks"

In commit 234918423a4fac44375317e6c9e7ee54ea09379c 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.

16 years agoDo not reload status and stage views on errors
Jonas Fonseca [Thu, 10 Apr 2008 21:45:03 +0000 (23:45 +0200)]
Do not reload status and stage views on errors

It hides the error message.

16 years agoFix AsciiDoc replacing -- in --with-libiconv
Jonas Fonseca [Thu, 10 Apr 2008 21:43:48 +0000 (23:43 +0200)]
Fix AsciiDoc replacing -- in --with-libiconv

16 years agoSquelsh output of update-index when loading the status view (part II)
Jonas Fonseca [Tue, 8 Apr 2008 14:50:50 +0000 (16:50 +0200)]
Squelsh output of update-index when loading the status view (part II)

Also include messages from stdout.

16 years agoRebind the maximize action to 'O' instead of 'M'
Jonas Fonseca [Tue, 8 Apr 2008 14:49:07 +0000 (16:49 +0200)]
Rebind the maximize action to 'O' instead of 'M'

The latter is already used for launching the mergetool when in the
status view.

16 years agotig-0.11
Jonas Fonseca [Sun, 6 Apr 2008 19:28:14 +0000 (21:28 +0200)]
tig-0.11

16 years agoUse sans-serif font for the README page
Jonas Fonseca [Sun, 6 Apr 2008 19:27:31 +0000 (21:27 +0200)]
Use sans-serif font for the README page

16 years agoUpdate copyright notice for the manual
Jonas Fonseca [Sun, 6 Apr 2008 17:46:36 +0000 (19:46 +0200)]
Update copyright notice for the manual

16 years agoRemove unused blame line attributes
Jonas Fonseca [Sun, 6 Apr 2008 17:46:18 +0000 (19:46 +0200)]
Remove unused blame line attributes

16 years agoUse tables for listing the UI colors
Jonas Fonseca [Sun, 6 Apr 2008 17:46:05 +0000 (19:46 +0200)]
Use tables for listing the UI colors

16 years agoMinor cleanup in blame_draw
Jonas Fonseca [Thu, 3 Apr 2008 16:34:59 +0000 (18:34 +0200)]
Minor cleanup in blame_draw

16 years agoSetup colors for the selected line in draw_view_line()
Jonas Fonseca [Thu, 3 Apr 2008 15:47:09 +0000 (17:47 +0200)]
Setup colors for the selected line in draw_view_line()

16 years agoMake the main and blame view share date drawing and date colors
Jonas Fonseca [Thu, 3 Apr 2008 19:30:42 +0000 (21:30 +0200)]
Make the main and blame view share date drawing and date colors

Renames the main-date color to date.

16 years agoSquelsh output of update-index when loading the status view
Jonas Fonseca [Fri, 4 Apr 2008 22:40:43 +0000 (00:40 +0200)]
Squelsh output of update-index when loading the status view

16 years agoAvoid splitting the view when navigating stage view in full screen
Jonas Fonseca [Fri, 4 Apr 2008 20:17:24 +0000 (22:17 +0200)]
Avoid splitting the view when navigating stage view in full screen

16 years agoUse 3 as the minimum width of formatted line numbers
Jonas Fonseca [Fri, 4 Apr 2008 09:43:23 +0000 (11:43 +0200)]
Use 3 as the minimum width of formatted line numbers

It gives a more pleasant experience when "digging" through commits.
And of course, most commits will have diffs smaller than 1000 lines!?
For the blame view it means less flickering in the startup when the
whole file is read.

16 years agoRevert "When toggling options redraw the view instead of the whole display"
Jonas Fonseca [Fri, 4 Apr 2008 09:30:47 +0000 (11:30 +0200)]
Revert "When toggling options redraw the view instead of the whole display"

This reverts commit d79f15772b0489ae3bf77322706016c733a714c9.

16 years agoFix compatibility for git rev-parse without --symbolic-full-name
Jonas Fonseca [Thu, 3 Apr 2008 23:51:27 +0000 (01:51 +0200)]
Fix compatibility for git rev-parse without --symbolic-full-name

Use symbolic-ref instead.

16 years agoError out when starting up in empty main or blame view
Jonas Fonseca [Thu, 3 Apr 2008 23:43:26 +0000 (01:43 +0200)]
Error out when starting up in empty main or blame view

This usually means that the arguments did not match any revisions or file.

16 years agoImprove staging of diff chunks
Jonas Fonseca [Thu, 3 Apr 2008 23:03:21 +0000 (01:03 +0200)]
Improve staging of diff chunks

As suggested by Petr Baudis some year ago, make updating of chunks work
stage the chunk the cursor line is within instead of the whole file. Still
stage everything when the cursor is in the diff --stat header.

16 years agoReload the status and stage views after a run request has been handled
Jonas Fonseca [Thu, 3 Apr 2008 14:46:00 +0000 (16:46 +0200)]
Reload the status and stage views after a run request has been handled

16 years agoAdd support for refreshing of the stage view
Jonas Fonseca [Thu, 3 Apr 2008 14:41:09 +0000 (16:41 +0200)]
Add support for refreshing of the stage view

Consolidate stage reloading for the edit, refresh, and update requests.
It works by first reloading the status view after which the stage view
is closed or reloaded depending on whether the status information of the
stage view still is valid.

16 years agoWhen toggling options redraw the view instead of the whole display
Jonas Fonseca [Thu, 3 Apr 2008 17:18:11 +0000 (19:18 +0200)]
When toggling options redraw the view instead of the whole display

16 years agoUse werase() instead of wclear() when reloading a view
Jonas Fonseca [Thu, 3 Apr 2008 17:07:42 +0000 (19:07 +0200)]
Use werase() instead of wclear() when reloading a view

It behaves much better by not causing the parent view to be repainted.

16 years agoShare the line number colors between blame view and others
Jonas Fonseca [Thu, 3 Apr 2008 15:02:15 +0000 (17:02 +0200)]
Share the line number colors between blame view and others

Renames the blame-lineno color to line-number.

16 years agoRename load_repo_config() to load_git_config()
Jonas Fonseca [Thu, 3 Apr 2008 13:47:21 +0000 (15:47 +0200)]
Rename load_repo_config() to load_git_config()

16 years agoDo not load repository references when acting as a pager
Jonas Fonseca [Thu, 3 Apr 2008 13:24:44 +0000 (15:24 +0200)]
Do not load repository references when acting as a pager

It will cause git ls-remote to print an error message.

16 years agoMerge branch 'master' of remote-server:src/tig
Jonas Fonseca [Wed, 2 Apr 2008 22:01:15 +0000 (00:01 +0200)]
Merge branch 'master' of remote-server:src/tig

16 years agostatus: use draw_text completely
Jonas Fonseca [Wed, 2 Apr 2008 22:13:42 +0000 (00:13 +0200)]
status: use draw_text completely

16 years agoMake local tags and normal branches use normal font-weight
Jonas Fonseca [Wed, 2 Apr 2008 21:59:15 +0000 (23:59 +0200)]
Make local tags and normal branches use normal font-weight

Change color of HEAD reference to use cyan as normal branches
but with bold font.

16 years agoShow the tracked remote branch with bold text
Jonas Fonseca [Wed, 2 Apr 2008 21:57:08 +0000 (23:57 +0200)]
Show the tracked remote branch with bold text

... and others with normal font-weight.