Expand-Diff

1.0.4

The script is designed for diff and patch files created by git. It expands
the specified diff file into directories "a" and "b" (original and changes)
with pieces of files stored in the diff.

Then you can use your diff tool of choice in order to compare the
directories "a" and "b", i.e. to visualize the original diff file.

The following diff lines are recognized and
The script is designed for diff and patch files created by git. It expands
the specified diff file into directories "a" and "b" (original and changes)
with pieces of files stored in the diff.

Then you can use your diff tool of choice in order to compare the
directories "a" and "b", i.e. to visualize the original diff file.

The following diff lines are recognized and processed:

--- a/... | "a/..." | /dev/null ~ file "a"
+++ b/... | "b/..." | /dev/null ~ file "b"
@@... ~ chunk header
... ~ common line
-... ~ "a" line
+... ~ "b" line

Other lines are ignored.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Expand-Diff

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Roman Kuzmin

Package Details

Author(s)

  • Roman Kuzmin

Tags

Git Diff Patch Compare Merge

Functions

Write-A Write-B Decode-Path

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
1.0.4 (current version) 203 2/16/2022
1.0.3 132 7/25/2020
1.0.2 32 6/25/2020
1.0.1 24 6/23/2020
1.0.0 24 6/23/2020