Doc: Describe Git Instant Blame better

Change-Id: I117ae52c6de722274d51fdcb1e32d4df23f9171b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Andre Hartmann
2024-10-09 09:51:47 +02:00
committed by André Hartmann
parent 572d1ae1f1
commit 44dacca31f

View File

@@ -543,6 +543,45 @@
\endtable
\section2 Using Instant Blame
Instant Blame annotates the current editor line with its author and date this
line was last changed. The commit subject can optionally be shown in the annotation.
\note Instant Blame is not available for unsaved files.
To show the latest real changes to the line, configure Instant Blame to ignore
whitespace changes and line moves.
When you hover the annotation, a tooltip with additional information is shown.
From the tooltip, the following actions are available:
\table
\header
\li Action
\li Description
\row
\li Blame <hash>
\li Opens the full file blame for the revision of \e hash.
\row
\li Blame Parent
\li Opens the full file blame for the parent revision of \e hash.
\row
\li File at <hash>
\li Opens the file contents at the revision of \e hash.
\row
\li Log for line <line>
\li Shows a log with all the commits that touched the \e line.
\row
\li Icon "Copy"
\li Copies the full \e hash to the clipboard.
\row
\li commit <hash>
\li Opens the commit \e hash with full description and diff.
\endtable
\note Most of these actions have no meaning for uncommmited changes.
\section2 Using Git with Subversion
You can use Git as a client for a Subversion server. To fetch changes from a