Home | History | Annotate | Download | only in bin

Lines Matching full:commit

18 clang-format on the changes in current files or a specific commit.               
35 usage = 'git clang-format [OPTIONS] [<commit>] [<commit>] [--] [<file>...]'
39 between the working directory and <commit>, which defaults to HEAD. Changes are
43 second <commit> that differ from the first <commit>.
47 clangFormat.commit
94 p.add_argument('--commit',
95 default=config.get('clangformat.commit', 'HEAD'),
96 help='default commit to use if none is specified'),
116 # to use some heuristics to determine whether or not <commit> was present.
118 p.add_argument('args', nargs='*', metavar='<commit>',
127 commits, files = interpret_args(opts.args, dash_dash, opts.commit)
215 for commit in commits:
216 object_type = get_object_type(commit)
217 if object_type not in ('commit', 'tag'):
219 die("'%s' is not a commit" % commit)
221 die("'%s' is a %s, but a commit was expected" % (commit, object_type))
240 # If `value` is ambiguous (neither a commit nor a file), the following
246 if object_type in ('commit', 'tag'):
248 die('`%s` is a %s, but a commit or filename was expected' %
279 differences between the working directory and the first commit if a single
485 print >>sys.stderr, 'Please commit, stage, or stash them first.'