On Fri, May 12, 2006 at 01:59:53PM +0300, Kirill A. Shutemov wrote: > патч в аттаче [...] > --- a/gear > +++ b/gear > @@ -109,6 +109,7 @@ Options: > --export-dir=DIRNAME write source files to specified directory; > -r, --rules=FILENAME name of file with rules, default is .$PROG-rules; > -t, --tree-ish=ID tree, commit or tag object name; > + -l, --local extract archive from local directory, not from git; Ну это не совсем правда. Ваш патч делает commit. [...] > +if [ -n "$local" -a "$tree_id" != 'HEAD' ]; then > + show_usage 'Options --local is actual only with tree_ish=HEAD.' s/Options/Option/ s/tree_ish/tree-ish/ [...] > +if [ -n "$local" ]; then > + git-commit -a -m 'temporary commit' > /dev/null || { local=; info 'Nothing changed. Used last commit'; } Зачем >/dev/null? -- ldv