Ivan A. Melnikov fe6bedfb5d tools/pre-commit: Don't use stashes
Using stashes in pre-commit hook had the following demerits:
- when stash was not needed, it was not created, so some other stash
  created by user was poped on exit -- this was a source of great
  confusion;
- files with unstaged changes were touched, which caused unwanted
  side effects with some tools like editors or build systems.

This commit changes the way we get the clean source by checking out
index tree to temporary dir without modifying working tree. This
might be a bit slower for large repositories, but in my tests for
this repo it is within 5%.

Change-Id: Ic32fc2f52958b63131fcbe363ea47fca13099ea3
2013-06-24 21:09:27 +03:00
2013-06-21 22:44:24 -07:00
2013-06-21 19:55:14 -07:00
2013-06-11 10:10:42 -07:00
2013-06-24 21:09:27 +03:00
2013-06-21 17:44:48 -07:00
2013-03-16 19:28:04 -07:00
2013-06-21 17:44:48 -07:00
2012-05-06 10:54:23 -07:00
2012-02-18 07:53:43 -08:00
2013-06-21 17:44:48 -07:00
2013-06-17 23:27:21 -07:00
2013-06-21 17:44:48 -07:00
2013-06-21 17:44:48 -07:00
2013-06-18 10:39:58 -07:00
2013-06-21 17:44:48 -07:00
2013-06-21 17:44:48 -07:00
2013-06-21 22:23:13 -07:00
2013-06-21 17:44:48 -07:00

We want more information!

Please check out: http://anvil.readthedocs.org.

Description
RETIRED, A set of python scripts and utilities to forge raw OpenStack into a productive tool!
Readme 14 MiB