summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-09-07 10:21:39 +1000
committerPaul Mackerras <paulus@samba.org>2007-06-23 20:57:39 +1000
commit219ea3a99b9d4253815bcd71fd78eb00665acdbb (patch)
tree15a51aebd13d377062eb5acd74e7a0eb2e1cc950 /commit.c
parent322a8cc9b31217c883c42b9babbbdea7f522eeb7 (diff)
downloadgit-219ea3a99b9d4253815bcd71fd78eb00665acdbb.tar.gz
gitk: Show local uncommitted changes as a fake commit
If there are local changes in the repository, i.e., git-diff-index HEAD produces some output, then this optionally displays an extra row in the graph as a child of the HEAD commit (but with a red circle to indicate that it's not a real commit). There is a checkbox in the preferences window to control whether gitk does this or not. Clicking on the extra row shows the diffs between the working directory and the HEAD (using git diff-index -p). The right-click menu on the extra row allows the user to generate a patch containing the local diffs, or to display the diffs between the working directory and any commit. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions