2013/3/12 csware <notifications@github.com>

> In src/TortoiseProc/Commands/DiffCommand.cpp:
>
> > @@ -55,9 +55,34 @@ bool DiffCommand::Execute()
> >  				git_wc_status_kind status = git_wc_status_none;
> >  				CString topDir;
> >  				if (orgCmdLinePath.HasAdminDir(&topDir))
> > +				{
> > +					g_Git.Run(_T("git.exe update-index -- ") + cmdLinePath.GetGitPathString(), nullptr); // make sure we get the right status
>
> The diff stuff (working tree to index and index to tree) of libgit2 looks
> quite stable, I think we should look into it in order to build the
> CTGitPathList for GitStatusListCtrl (Commit, Diff dialog and working tree
> changes in log dialog).
> But that's another issue.
>
I have a pull request about unified diff.
It seems have issues at submodule check.
You can try it.


> —
> Reply to this email directly or view it on GitHub<https://github.com/TortoiseGit/TortoiseGit/pull/48/files#r3331095>
> .
>