I want to get a similar output from the Git command:
$ git whatchanged <old_rev>..<new_rev> --pretty=oneline --name-status
I read that hg outgoing might help, but on the help page it has nothing to do with versions:
$ hg diff <old_rev>..<new_rev> gave differences, but the output is:
diff -r d3ed0d3eb928 -r 63329069147f hello.rb --- a/hello.rb Tue Jul 31 16:52:40 2012 +0530 +++ b/hello.rb Wed Aug 01 11:15:33 2012 +0530 @@ -1,1 +1,1 @@ -print "Hello" +print "Hello World"
while I need something similar to:
bb3b9a6bc00b7203ab6491dbd062641fa60efb95 Fix for #4 and other small errors M .gitignore A config.ru D db/database.db M views/setup.haml 1c4ff29e5c7fc707c6fe314c060cd1935b300dd9 Added keyboard shortcuts and reload M README.md A public/javascript/keys.js d0755d0b54cb4129fbf7730fe0bdf21a3996e224 Basic player completed M README.md D public/javascript/jquery-ui-1.8.21.custom.min.js ...
which I get with git whatchanged 1c4ff29e5c7fc707c6fe314c060cd1935b300dd9 bb3b9a6bc00b7203ab6491dbd062641fa60efb95 --pretty=oneline --name-status
source share