Reorders git options for uncommitted modifications nudge
-C path must come before the subcommand. Co-authored-by: Carlo Cabrera <github@carlo.cab>
This commit is contained in:
parent
60ce25bea0
commit
f08122937f
@ -703,7 +703,7 @@ module Homebrew
|
||||
If this is a surprise to you, then you should stash these modifications.
|
||||
Stashing returns Homebrew to a pristine state but can be undone
|
||||
should you later need to do so for some reason.
|
||||
git stash -u -C #{path} && git clean -d -f -C #{path}
|
||||
git -C "#{path}" stash -u && git -C "${path}" clean -d -f
|
||||
EOS
|
||||
|
||||
modified = status.split("\n")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user