Skip to content
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

Fetch overwrote files #15

Closed
corysimmons opened this issue Oct 23, 2012 · 0 comments
Closed

Fetch overwrote files #15

corysimmons opened this issue Oct 23, 2012 · 0 comments

Comments

@corysimmons
Copy link

So my project structure was like this:

/foosite
    /design
        mockup.psd

I created a website template like this:

/website
    /css
        style.css
    /design
        mockup.psd

Then I zipped that entire folder like so:

website.zip
    /website
        /css
            style.css
        /design
            mockup.psd

When I ran Fetch in the /foosite directory, I expected it to unzip and put a /website folder as a child of /foosite. Instead, it completely ignores the /website folder and just puts the contents of /website into /foosite, which meant the /design folder overwrote the old /design folder thereby overwriting a mockup I needed without prompting.

I'm okay with it not prompting, but why does it ignore the /website folder as if it never existed? There's a reason I specifically nested /website within website.zip (so I didn't overwrite anything).

Luckily I do daily backups, but this is still unexpected behavior and made me sweat as I thought I'd lost weeks of work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant