Skip to content

Commit e2af9e3

Browse files
committed
Merge branch 'maint'
* maint: Typo fix: replacing it's -> its t: make PIPE a standard test prerequisite archive: clarify explanation of --worktree-attributes t/README: --immediate skips cleanup commands for failed tests
2 parents 7ece7ee + 3a51467 commit e2af9e3

File tree

7 files changed

+20
-21
lines changed

7 files changed

+20
-21
lines changed

Documentation/git-archive.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ OPTIONS
5656
Write the archive to <file> instead of stdout.
5757

5858
--worktree-attributes::
59-
Look for attributes in .gitattributes in working directory too.
59+
Look for attributes in .gitattributes files in the working tree
60+
as well (see <<ATTRIBUTES>>).
6061

6162
<extra>::
6263
This can be any options that the archiver backend understands.
@@ -120,6 +121,7 @@ tar.<format>.remote::
120121
user-defined formats, but true for the "tar.gz" and "tgz"
121122
formats.
122123

124+
[[ATTRIBUTES]]
123125
ATTRIBUTES
124126
----------
125127

INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Issues of note:
101101
- "openssl" library is used by git-imap-send to use IMAP over SSL.
102102
If you don't need it, use NO_OPENSSL.
103103

104-
By default, git uses OpenSSL for SHA1 but it will use it's own
104+
By default, git uses OpenSSL for SHA1 but it will use its own
105105
library (inspired by Mozilla's) with either NO_OPENSSL or
106106
BLK_SHA1. Also included is a version optimized for PowerPC
107107
(PPC_SHA1).

perl/private-Error.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ Only one finally block may be specified per try block
630630
=head2 CONSTRUCTORS
631631
632632
The C<Error> object is implemented as a HASH. This HASH is initialized
633-
with the arguments that are passed to it's constructor. The elements
633+
with the arguments that are passed to its constructor. The elements
634634
that are used by, or are retrievable by the C<Error> class are listed
635635
below, other classes may add to these.
636636
@@ -763,7 +763,7 @@ to the constructor.
763763
764764
=item Error::Simple
765765
766-
This class can be used to hold simple error strings and values. It's
766+
This class can be used to hold simple error strings and values. Its
767767
constructor takes two arguments. The first is a text value, the second
768768
is a numeric value. These values are what will be returned by the
769769
overload methods.

t/README

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ appropriately before running "make".
8686

8787
--immediate::
8888
This causes the test to immediately exit upon the first
89-
failed test.
89+
failed test. Cleanup commands requested with
90+
test_when_finished are not executed if the test failed,
91+
in order to keep the state for inspection by the tester
92+
to diagnose the bug.
9093

9194
--long-tests::
9295
This causes additional long-running tests to be run (where
@@ -619,6 +622,11 @@ use these, and "test_set_prereq" for how to define your own.
619622
The process retains the same pid across exec(2). See fb9a2bea for
620623
details.
621624

625+
- PIPE
626+
627+
The filesystem we're on supports creation of FIFOs (named pipes)
628+
via mkfifo(1).
629+
622630
- SYMLINKS
623631

624632
The filesystem we're on supports symbolic links. E.g. a FAT

t/t9010-svn-fe.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@ text_no_props () {
5454

5555
>empty
5656

57-
test_expect_success 'setup: have pipes?' '
58-
rm -f frob &&
59-
if mkfifo frob
60-
then
61-
test_set_prereq PIPE
62-
fi
63-
'
64-
6557
test_expect_success PIPE 'empty dump' '
6658
reinit_git &&
6759
echo "SVN-fs-dump-format-version: 2" >input &&

t/t9300-fast-import.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,6 @@ echo "$@"'
4949

5050
>empty
5151

52-
test_expect_success 'setup: have pipes?' '
53-
rm -f frob &&
54-
if mkfifo frob
55-
then
56-
test_set_prereq PIPE
57-
fi
58-
'
59-
6052
###
6153
### series A
6254
###

t/test-lib.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,11 @@ test_i18ngrep () {
735735
fi
736736
}
737737

738+
test_lazy_prereq PIPE '
739+
# test whether the filesystem supports FIFOs
740+
rm -f testfifo && mkfifo testfifo
741+
'
742+
738743
test_lazy_prereq SYMLINKS '
739744
# test whether the filesystem supports symbolic links
740745
ln -s x y && test -h y

0 commit comments

Comments
 (0)