diff options
| author | Jim Meyering <meyering@redhat.com> | 2012-04-27 21:30:52 +0200 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2012-04-27 23:01:21 +0200 |
| commit | c83f723267dff03e954ba77454d51a691dfba1c0 (patch) | |
| tree | 8c3fc2784fdf2c2b65645516ba69a60ed272dde9 /scripts/git-hooks/commit-msg | |
| parent | id: don't call getcon unnecessarily (diff) | |
| download | coreutils-c83f723267dff03e954ba77454d51a691dfba1c0.tar.gz coreutils-c83f723267dff03e954ba77454d51a691dfba1c0.zip | |
id: -Zn/-Zr: avoid an invalid diagnostic
* src/id.c (main): Using -Z with -r or -n would fail with "id: cannot
print only names or real IDs in default format", in spite of that "-Z",
which specifies a non-default format. Now, it succeeds and ignores
the -n or -r option. The error was that the test for default_format
was not updated when I added the new --context (-Z) option in
commit v6.9-33-g5320d0f.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
