Re: [PATCH 6/7] sh-setup: introduce require_clean_work_tree --quiet

2013-04-23 Thread Junio C Hamano
Ramkumar Ramachandra writes: > Some callers might want to know whether or not the worktree is clean, > and require_clean_work_tree() has the logic for this. The current > implementation of the function prints a message and exits if the > worktree wasn't clean. Introduce a --quiet switch to get

[PATCH 6/7] sh-setup: introduce require_clean_work_tree --quiet

2013-04-23 Thread Ramkumar Ramachandra
Some callers might want to know whether or not the worktree is clean, and require_clean_work_tree() has the logic for this. The current implementation of the function prints a message and exits if the worktree wasn't clean. Introduce a --quiet switch to get it to report the status of the worktree