We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
object looks like: @{state=$_[0];file=$file;staged=$true} need to add ;working=$false
@{state=$_[0];file=$file;staged=$true}
;working=$false
Use number indexes for workingDir and alphabet for stagingArea?
all Git-functions should define a config about what they are supposed to do and be updated on checkout/add/...
$filter = ({ param($fileInfo) $fileInfo.state -ne 'D' }) $config = @{ gitCommand="git add"; staging=$false; working=$true; defaultToAllFiles=$true; extraFileFilterFn=$filter; # only Git-NumberedDiff needs this atm. is this necessary? } function Execute-GitConfig($config, $fileInfo) { if ($args.length -eq 0 -or $args[0] -eq $null) { $args = @("0-$($global:gitStatusNumbers.stagingArea.length - 1)") } $fileInfos = Parse-GitIndexes $args 'stagingArea' if (-not $fileInfos) { return } $files = $fileInfos | % {$_.file} Invoke-Git diff --cached $files }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
object looks like:
@{state=$_[0];file=$file;staged=$true}
need to add
;working=$false
Use number indexes for workingDir and alphabet for stagingArea?
all Git-functions should define a config about what they are supposed to do
and be updated on checkout/add/...
The text was updated successfully, but these errors were encountered: