-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
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
hide files/dirs #183
base: main
Are you sure you want to change the base?
hide files/dirs #183
Conversation
current issue: try -E fails when the dir is in /tmp
specifically: temp curr resolution: setting mktemp to use another dir |
Closes #185. Try was making way too many tempfiles. Now we store everything in the sandbox, with a tiny bit of nuance: $IGNORE_FILE needs to be created in advance to handle the args properly. So we create that temporary unconditionally. When running a command (the try() function), we'll move $IGNORE_FILE into the sandbox. When running try commit or try summary, we just delete $IGNORE_FILE at the end.
@@ -645,6 +666,11 @@ do | |||
fi | |||
LOWER_DIRS="$OPTARG" | |||
NO_COMMIT="quiet";; | |||
(E) if [ -n "$EXCL_ENTS" ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not allow this to work like -i
, where you can specify multiple ignores on the command-line?
What is the actual command that causes this failure?
Is this a 'resolution' or a workaround? Seems like a workaround. If the failure is just when |
example:
./try -E STYLE.md -n "ls"
TODO