Skip to content

Commit

Permalink
Merge pull request #16 from kevinjalbert/update-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjalbert authored Oct 26, 2021
2 parents 709e1d9 + cf35222 commit fc38136
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,15 @@ This works, but it is a lot more information to sift through.
A better approach (which is what `GitEvolution` uses under the hood) presents the file history for only the concerned portion (7 commits):

```
$ git log -L70,75:./activesupport/lib/active_support/core_ext/array/access.rb --follow ./activesupport/lib/active_support/core_ext/array/access.rb
$ git log -L70,75:./activesupport/lib/active_support/core_ext/array/access.rb
```

The output isn't succinct, nor does it have ownership information. The command is also more verbose.

### Editor

I made a [Vim function](https://github.com/kevinjalbert/dotfiles/blob/eaca550/vim/vim/functions.vim#L1-L16) that allows me to visually select and call `git_evolution` using `ge` on the selected lines. This opens the output in a new buffer which I can then look through and yank commit SHAs if needed.

## Contributing

1. Fork it ( https://github.com/kevinjalbert/git_evolution/fork )
Expand Down

0 comments on commit fc38136

Please sign in to comment.