git log -p .
only in the current directory, but not in subdirectories
equivalently
svn log --diff --depth files .
Is it possible?
What about:
$ git log -p file1 file2 ...
Or, if there are too many, enter:
$ find . -maxdepth 1 -type f | xargs git log -p
On Linux, etc. you can only specify files in the current directory with
ls -p | grep -v /
So:
git log -p `ls -p | grep -v /`
is one way to do this.
Source: https://habr.com/ru/post/1607100/More articles:Приложение iOS воспроизводит только звуки через наушники - xcodeWhy can't we define an anonymous class for inheritance? - c ++Swift: Redundant Viewcontroller Compliance with UIGestureRecognizerDelegate - iosReturn null from a function that returns a link - referenceTest factory method - phpApplying Fast Fourier Transform with a Specific Product Function - algorithmIs it preferable to expose the C library in Elixir / Erlang or implement it in Erlang / Elixir? - erlangJavaScript: self-executing function with parameter - javascriptGraphical histogram with given x and y values - pythonAndroid searches for http-header during streaming video - androidAll Articles