Document daemon command
[TortoiseGit.git] / doc / source / en / TortoiseGit / tsvn_dug / dug_bisect.xml
blob4679ae903cd3ea98e5c106e10242a0ae8445746b
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE sect1 SYSTEM "../../../dtd/dblite.dtd">\r
3 <sect1 id="tsvn-dug-bisect">\r
4         <?dbhh topicname="HIDD_BISECTSTART"?>\r
5         <title>Bisect</title>\r
6         <indexterm>\r
7                 <primary>Bisect</primary>\r
8         </indexterm>\r
9         <para>\r
10                 if you want to find out which revision introduced a bug, you can use the bisect functionality.\r
11                 <action>Right click</action> on a folder to pop up the context menu and then select\r
12                 the command\r
13                 <menuchoice>\r
14                         <guimenu>TortoiseGit</guimenu>\r
15                         <guimenuitem>Bisect start</guimenuitem>\r
16                 </menuchoice>.\r
17                 A dialog will pop up:\r
18                 <figure id="tsvn-dug-bisect-dia-1">\r
19                         <title>Bisect start</title>\r
20                         <graphic fileref="../images/bisect.png"/>\r
21                 </figure>\r
22                 Enter the last known good revision and the first or one known bad (this is normally HEAD).\r
23         </para>\r
24         <para>\r
25                 After hitting <guibutton>OK</guibutton>, GIT will perform a binary search for the first faulty revision: Git\r
26                 switches to a revision in the middle. Now you can test this revision.\r
27         </para>\r
28         <para>\r
29                 TortoiseGit now provides three new options in the context menu:\r
30                 <figure id="tsvn-dug-bisect-dia-2">\r
31                         <title>Bisect options</title>\r
32                         <graphic fileref="../images/ContextMenuBisect.png"/>\r
33                 </figure>\r
34                 If this revision is OK, hit\r
35                 <menuchoice>\r
36                         <guimenu>TortoiseGit</guimenu>\r
37                         <guimenuitem>Bisect good</guimenuitem>\r
38                 </menuchoice>\r
39                 , otherwise hit\r
40                 <menuchoice>\r
41                         <guimenu>TortoiseGit</guimenu>\r
42                         <guimenuitem>Bisect bad</guimenuitem>.\r
43                 </menuchoice>\r
44                 Git will proceed with the binary search and switches to the "next" revision, so that you can test it.\r
45                 This goes on until the faulty revision is found or you abort this operation by clicking on\r
46                 <menuchoice>\r
47                         <guimenu>TortoiseGit</guimenu>\r
48                         <guimenuitem>Bisect reset</guimenuitem>\r
49                 </menuchoice>\r
50                 (this will reset the bisect process and switch out your previous branch/HEAD).\r
51         </para>\r
52         <tip>\r
53                 <title>Selecting revisions</title>\r
54                 <para>\r
55                         If a revision cannot be tested, or you want to go on with a different one, you can easily go to the log and\r
56                         (hard) reset the current HEAD to a revision you like.\r
57                 </para>\r
58         </tip>\r
59         <para>\r
60                 You can find more information at <xref linkend="git-bisect(1)"/>\r
61         </para>\r
62 </sect1>\r