I'm having trouble with all git commands that display the log/history of a repository. This issue is ONLY limitied to one of my repositories. I have several others that work just fine.
For the repo with issues, I only see the summary of the commit, where as the default behavior is to display the diff as well.
$ git show
commit bc8865f8b16ccf9eerrt678df99a4b89e73c0545
Merge: 677f483 3e8617d
Author: Some Author
Date: Thu Jul 23 07:56:28 2015 -0400
Merge branch 'Some_branch' ....
Similarly, the git diff-tree command works fine with all repos except for this one.
Normal Repo:
git diff-tree --pretty=format:%an %cn 5cff917e
Joe Black Joe Black
:040000 040000 98c97ee8929b487ae14ada67c1932205a80cfc3f 719f1764f123d462b20707f5f7740e4f473b2b47 M oracle
Repo with issues:
$ git diff-tree --pretty=format:%an 39ebdeb8f29
jblack@DFX1 ~/repositories/RepoName(master)
You are running
git show
on a merge commit:There is no unique way to show the diff for a merge commit: this commit has two parents, you can diff with either of them. To show the diff with each parent, use