When I do git diff HEAD^!
(to diff changes in the HEAD
commit), output is piped to LESS
. I need to search the contents of the diff for /*
(start of C-style comment). I haven't been able to get this working. I hit the forward-slash key on my keyboard to begin searching. I've tried:
//*
//\*
/\/\*
None of these work (first /
is to initiate search mode in LESS
).