--git option does not work in windows
Closed this issue · 1 comments
BGodding commented
Trying to use the --git options in windows results in an "Unable to read:" error.
I am testing on Windows 10 Pro x64
C:\Users\BGodd\Documents\smartplot>cloc --version
1.74
C:\Users\BGodd\Documents\smartplot>cloc --diff --git f3bd719 05eda95
0 text files.
0 text files.
0 files ignored.
2 errors:
Unable to read: f3bd719
Unable to read: 05eda95
Nothing to count.
C:\Users\BGodd\Documents\smartplot>cloc --diff f3bd719 05eda95
0 text files.
0 text files.
0 files ignored.
2 errors:
Unable to read: f3bd719
Unable to read: 05eda95
Nothing to count.
C:\Users\BGodd\Documents\smartplot>git diff --stat f3bd719 05eda95
src/datahandlers/csv_handler.cpp | 5 +-
src/datahandlers/csv_handler.h | 87 ++++++++++++++--------------
src/datahandlers/gdl_handler.cpp | 47 +++++++--------
src/datahandlers/gdl_handler.h | 3 -
src/datahandlers/usb_log_bitpacked_handler.h | 3 -
src/datahandlers/usb_log_data_handler.cpp | 75 +++++++++++-------------
src/datahandlers/usb_log_data_handler.h | 4 --
src/datahandlers/usb_log_event_handler.cpp | 28 ++++-----
src/datahandlers/usb_log_event_handler.h | 3 -
src/tabs/plot/axis_handler.cpp | 45 ++++----------
src/tabs/plot/axis_handler.h | 2 +-
src/tabs/plot/plot_handler.cpp | 2 +-
src/utility.cpp | 17 +-----
src/utility.h | 1 -
14 files changed, 121 insertions(+), 201 deletions(-)
The same commands in OS X and Ubuntu works great.
AlDanial commented
Support added with commit 37c3366; PR #253 . This feature requires http://gitforwindows.org/