Skip to content

Commit 31cf0c4

Browse files
authored
Merge pull request #908 from rpjday/debugging
Minor cleanup of "Debugging with Git".
2 parents 46bda84 + a611591 commit 31cf0c4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/07-git-tools/sections/debugging.asc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
=== Debugging with Git
22

3-
Git also provides a couple of tools to help you debug issues in your projects.
4-
Because Git is designed to work with nearly any type of project, these tools are pretty generic, but they can often help you hunt for a bug or culprit when things go wrong.
3+
In addition to being primarily for version control, Git also provides a couple commands to help you debug your source code projects.
4+
Because Git is designed to handle nearly any type of content, these tools are pretty generic, but they can often help you hunt for a bug or culprit when things go wrong.
55

66
[[_file_annotation]]
77
==== File Annotation
@@ -32,7 +32,7 @@ b8b0618cf6fab (Cheng Renquan 2009-05-26 16:03:07 +0800 70) KBUILD_VERBOSE = $
3232
----
3333

3434
Notice that the first field is the partial SHA-1 of the commit that last modified that line.
35-
The next two fields are values extracted from that commit the author name and the authored date of that commit so you can easily see who modified that line and when.
35+
The next two fields are values extracted from that commit -- the author name and the authored date of that commit -- so you can easily see who modified that line and when.
3636
After that come the line number and the content of the file.
3737
Also note the `^1da177e4c3f4` commit lines, where the `^` prefix designates lines that were introduced in the repository's initial commit and have remained unchanged ever since.
3838
This is a tad confusing, because now you’ve seen at least three different ways that Git uses the `^` to modify a commit SHA-1, but that is what it means here.

0 commit comments

Comments
 (0)