cgit

commit 67d0f870506e3bc3703ae3cb2cb00e19691ce967

Author: Ville Skyttä <ville.skytta@iki.fi>

global: spelling fixes

Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>

 cache.c | 2 +-
 cache.h | 2 +-
 filters/syntax-highlighting.sh | 2 +-
 tests/t0109-gitconfig.sh | 10 +++++-----


diff --git a/cache.c b/cache.c
index 2ccdc4ebcefd44dc7a4a34d5455356da3fe9ee3e..0901e6e0111ef98b8133bfeb149245e4f0526c6d 100644
--- a/cache.c
+++ b/cache.c
@@ -318,7 +318,7 @@
 	/* If the cache slot does not exist (or its key doesn't match the
 	 * current key), lets try to create a new cache slot for this
 	 * request. If this fails (for whatever reason), lets just generate
-	 * the content without caching it and fool the caller to belive
+	 * the content without caching it and fool the caller to believe
 	 * everything worked out (but print a warning on stdout).
 	 */
 




diff --git a/cache.h b/cache.h
index 93928368172a00c6261a711bc1b9912dc903c065..470da4fc15647943f0ea3f446ed140cacd973d5f 100644
--- a/cache.h
+++ b/cache.h
@@ -19,7 +19,7 @@  *   ttl     max cache time in seconds for this key
  *   fn      content generator function for this key
  *
  * Return value
- *   0 indicates success, everyting else is an error
+ *   0 indicates success, everything else is an error
  */
 extern int cache_process(int size, const char *path, const char *key, int ttl,
 			 cache_fill_fn fn);




diff --git a/filters/syntax-highlighting.sh b/filters/syntax-highlighting.sh
index 4fa792817f4d5cabca1dcd5b8629630440f0b125..840bc34fffd4fbbc1e9b91a7fe273ace08a315d6 100755
--- a/filters/syntax-highlighting.sh
+++ b/filters/syntax-highlighting.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 # This script can be used to implement syntax highlighting in the cgit
-# tree-view by refering to this file with the source-filter or repo.source-
+# tree-view by referring to this file with the source-filter or repo.source-
 # filter options in cgitrc.
 #
 # This script requires a shell supporting the ${var##pattern} syntax.




diff --git a/tests/t0109-gitconfig.sh b/tests/t0109-gitconfig.sh
index 5a842581069f988dd796e378f0535ea07a44a290..3ba668490d977876f223b5d6262bb16f35e8f52b 100755
--- a/tests/t0109-gitconfig.sh
+++ b/tests/t0109-gitconfig.sh
@@ -10,16 +10,16 @@ 	exit
 }
 
 test_no_home_access () {
-	non_existant_path="/path/to/some/place/that/does/not/possibly/exist"
-	while test -d "$non_existant_path"; do
-		non_existant_path="$non_existant_path/$(date +%N)"
+	non_existent_path="/path/to/some/place/that/does/not/possibly/exist"
+	while test -d "$non_existent_path"; do
+		non_existent_path="$non_existent_path/$(date +%N)"
 	done &&
 	strace \
-		-E HOME="$non_existant_path" \
+		-E HOME="$non_existent_path" \
 		-E CGIT_CONFIG="$PWD/cgitrc" \
 		-E QUERY_STRING="url=$1" \
 		-e access -f -o strace.out cgit &&
-	test_must_fail grep "$non_existant_path" strace.out
+	test_must_fail grep "$non_existent_path" strace.out
 }
 
 test_no_home_access_success() {