Hacker News new | ask | show | jobs
by spulec 5326 days ago
Cool. We had looked at doing it that way, but decided that we wanted to have the flexibility of accessing the entire repo so that we can run things like "./manage.py validate" and quick unit tests.

A leftover pdb.set_trace() that snuck into production is the exact reason we first added this :)

1 comments

So wouldn't:

git checkout-index --prefix=../temp/ --all

work?

Absolutely. Stashing seemed like the cleaner choice to me, but either would work.