Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)



So wouldn't:

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

work?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: