I was looking into Drill's(open source github project) documentation to create a patch.
I came across this command:
git format-patch origin/master --stdout > DRILL-1234.1.patch.txt
I made some changes. I verified my changes by git status. I modified a .java file. I tried above-mentioned command to create a patch.
I opened DRILL-1234.1.patch.txt & its empty.
Then I tried git add <modified file> & tried the same command, still empty patch file.
What am I missing?