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
# 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?
>
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
.*.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
4 matches
Mail list logo