chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8fee661
)
Pass --root to git-show so the diff command will show the initial commit
author
Jonas Fonseca
<fonseca@diku.dk>
Sun, 3 Sep 2006 12:50:23 +0000
(14:50 +0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Sun, 3 Sep 2006 12:50:23 +0000
(14:50 +0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index b2e1a36057fba5cb067edfc519872c199f30aefc..5eded687e3c682c52442e506c0780a046a383456 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-74,7
+74,7
@@
static size_t utf8_length(const char *string, size_t max_width, int *coloffset,
"git ls-remote . 2>/dev/null"
#define TIG_DIFF_CMD \
"git ls-remote . 2>/dev/null"
#define TIG_DIFF_CMD \
- "git show --patch-with-stat --find-copies-harder -B -C %s 2>/dev/null"
+ "git show --
root --
patch-with-stat --find-copies-harder -B -C %s 2>/dev/null"
#define TIG_LOG_CMD \
"git log --cc --stat -n100 %s 2>/dev/null"
#define TIG_LOG_CMD \
"git log --cc --stat -n100 %s 2>/dev/null"
@@
-679,7
+679,7
@@
static struct keybinding default_keybindings[] = {
{ 'v', REQ_SHOW_VERSION },
{ 'r', REQ_SCREEN_REDRAW },
{ 'n', REQ_TOGGLE_LINENO },
{ 'v', REQ_SHOW_VERSION },
{ 'r', REQ_SCREEN_REDRAW },
{ 'n', REQ_TOGGLE_LINENO },
- { 'g', REQ_TOGGLE_REV_GRAPH},
+ { 'g', REQ_TOGGLE_REV_GRAPH
},
{ ':', REQ_PROMPT },
/* wgetch() with nodelay() enabled returns ERR when there's no input. */
{ ':', REQ_PROMPT },
/* wgetch() with nodelay() enabled returns ERR when there's no input. */