Skip to content

Diff of New Files #4

@lcnittl

Description

@lcnittl

Currently throws an error:

PS C:\...\repo> git diff --staged
Resolve-Path : Cannot find path 'C:\...\repo\nul' because it does not exist.
At C:\...\DMFO\dmfo-diff.ps1:28 char:18
+     $FileName = (Resolve-Path $FileNames[$key]).Path
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\...\repo\nul:String) [Resolve-Path], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.ResolvePathCommand

fatal: external diff died, stopping at NewFile.pptx

Should open the newly added file without any comparison.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions