Skip to content

Commit b7c94eb

Browse files
author
Kaartic Sivaraam
committed
Made a few changes to improve readability
* Removed time related words * Split a sentence to improve readability
1 parent 69dcd29 commit b7c94eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ If you need to be more specific, you can provide a regular expression to search
111111
===== Line Log Search
112112

113113
Another fairly advanced log search that is insanely useful is the line history search.
114-
This is a fairly recent addition and not very well known, but it can be really helpful.
115-
It is called with the `-L` option to `git log` and will show you the history of a function or line of code in your codebase.
114+
This can be really helpful.
115+
It is called with the `-L` option to `git log`.
116+
It will show you the history of a function or line of code in your codebase.
116117

117118
For example, if we wanted to see every change made to the function `git_deflate_bound` in the `zlib.c` file, we could run `git log -L :git_deflate_bound:zlib.c`.
118119
This will try to figure out what the bounds of that function are and then look through the history and show us every change that was made to the function as a series of patches back to when the function was first created.

0 commit comments

Comments
 (0)