diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-18 16:44:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-19 10:54:16 -0700 |
commit | 46538012d943156ead4024fb510a1ce5d4ff443a (patch) | |
tree | 8e167868b9e1a252582013f21c556d6a73e9280b /Documentation/git-notes.txt | |
parent | 2d370d2fbcf896912cc0739b806224f9a270bb5e (diff) | |
download | git-46538012d943156ead4024fb510a1ce5d4ff443a.tar.gz git-46538012d943156ead4024fb510a1ce5d4ff443a.tar.xz |
notes remove: --stdin reads from the standard input
Teach the command to read object names to remove from the standard
input, in addition to the object names given from the command line.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-notes.txt')
-rw-r--r-- | Documentation/git-notes.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt index 8bbffdf64..6a187f2e2 100644 --- a/Documentation/git-notes.txt +++ b/Documentation/git-notes.txt @@ -17,7 +17,7 @@ SYNOPSIS 'git notes' merge [-v | -q] [-s <strategy> ] <notes_ref> 'git notes' merge --commit [-v | -q] 'git notes' merge --abort [-v | -q] -'git notes' remove [--ignore-missing] [<object>...] +'git notes' remove [--ignore-missing] [--stdin] [<object>...] 'git notes' prune [-n | -v] 'git notes' get-ref @@ -159,6 +159,11 @@ OPTIONS Do not consider it an error to request removing notes from an object that does not have notes attached to it. +--stdin:: + Also read the object names to remove notes from from the standard + input (there is no reason you cannot combine this with object + names from the command line). + -n:: --dry-run:: Do not remove anything; just report the object names whose notes |