freshshell / fresh

Keep your dotfiles fresh.
https://freshshell.com/
1.17k stars 87 forks source link

globbed directory with --ref seems to not work #137

Open ajsalminen opened 8 years ago

ajsalminen commented 8 years ago

Seems like I've encountered a bug when trying to do this: fresh DanielVartanov/willgit bin/\* --ref=f5403069d33dc0887267278080d74c2e6a197441 --bin

When running fresh, it errors out with "fatal: Path 'bin/.fresh-order' does not exist in 'f5403069d33dc0887267278080d74c2e6a197441'".

Removing the --ref argument makes it work.

ajsalminen commented 7 years ago

Reading the documentation now and testing something similar it seems like this shouldn't have worked with or without the --ref anyway so I'm closing and opening a feature enhancement issue instead.

jasoncodes commented 7 years ago

The error message you received regarding .fresh-order when combining globs, --ref, and --file/--bin together sounds like a legitimate bug to me. I’m going to re-open this issue. Thanks for reporting it.

star-szr commented 4 years ago

Ran into this today, does seem like a legitimate bug and no --file or --bin needed to reproduce, just a glob and ref.

This doesn't work, based on a README example: fresh jasoncodes/dotfiles shell/aliases/\* --ref=fda225f

fatal: Path 'shell/aliases/.fresh-order' does not exist in 'fda225f'