Skip to content

Commit 67d0f87

Browse files
scopzx2c4
authored andcommitted
global: spelling fixes
Signed-off-by: Ville Skyttä <[email protected]>
1 parent 98abe5b commit 67d0f87

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ static int process_slot(struct cache_slot *slot)
318318
/* If the cache slot does not exist (or its key doesn't match the
319319
* current key), lets try to create a new cache slot for this
320320
* request. If this fails (for whatever reason), lets just generate
321-
* the content without caching it and fool the caller to belive
321+
* the content without caching it and fool the caller to believe
322322
* everything worked out (but print a warning on stdout).
323323
*/
324324

cache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ typedef void (*cache_fill_fn)(void);
1919
* fn content generator function for this key
2020
*
2121
* Return value
22-
* 0 indicates success, everyting else is an error
22+
* 0 indicates success, everything else is an error
2323
*/
2424
extern int cache_process(int size, const char *path, const char *key, int ttl,
2525
cache_fill_fn fn);

filters/syntax-highlighting.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
# This script can be used to implement syntax highlighting in the cgit
3-
# tree-view by refering to this file with the source-filter or repo.source-
3+
# tree-view by referring to this file with the source-filter or repo.source-
44
# filter options in cgitrc.
55
#
66
# This script requires a shell supporting the ${var##pattern} syntax.

tests/t0109-gitconfig.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ test -n "$(which strace 2>/dev/null)" || {
1010
}
1111

1212
test_no_home_access () {
13-
non_existant_path="/path/to/some/place/that/does/not/possibly/exist"
14-
while test -d "$non_existant_path"; do
15-
non_existant_path="$non_existant_path/$(date +%N)"
13+
non_existent_path="/path/to/some/place/that/does/not/possibly/exist"
14+
while test -d "$non_existent_path"; do
15+
non_existent_path="$non_existent_path/$(date +%N)"
1616
done &&
1717
strace \
18-
-E HOME="$non_existant_path" \
18+
-E HOME="$non_existent_path" \
1919
-E CGIT_CONFIG="$PWD/cgitrc" \
2020
-E QUERY_STRING="url=$1" \
2121
-e access -f -o strace.out cgit &&
22-
test_must_fail grep "$non_existant_path" strace.out
22+
test_must_fail grep "$non_existent_path" strace.out
2323
}
2424

2525
test_no_home_access_success() {

0 commit comments

Comments
 (0)