Re: git-diff-tree --root

2014-09-15 Thread Junio C Hamano
Roman Neuhauser writes: > ... I like > my scripts as simple as possible, so I'd like to use --root *always*. With "--root", the command does not do anything different without for commits that are not root commits, and it shows "everything created from nothing" for root commits. The option was i

Re: git-diff-tree --root

2014-09-13 Thread Roman Neuhauser
# gits...@pobox.com / 2014-09-12 10:31:30 -0700: > Roman Neuhauser writes: > > git-diff-tree without --root is absolutely silent for the root commit, > > and i see no bad effects of --root on non-root commits. are there any > > hidden gotchas? IOW, why is the --root behavior not the default? >

Re: git-diff-tree --root

2014-09-12 Thread Junio C Hamano
Roman Neuhauser writes: > git-diff-tree without --root is absolutely silent for the root commit, > and i see no bad effects of --root on non-root commits. are there any > hidden gotchas? IOW, why is the --root behavior not the default? Because tools that was written before you proposed that ch

git-diff-tree --root

2014-09-12 Thread Roman Neuhauser
.*.sw?' > .gitignore $ git add .gitignore $ git commit -q -m init .gitignore $ git diff-tree HEAD $ git diff-tree --root HEAD [0-9a-z]{40} (re) :00 100644 [0-9a-z]{40} A\\t.* (re) [1] https://pypi.python.org/pypi/cram -- roman -- To uns