]> arthur.barton.de Git - bup.git/commitdiff
git.py: fix minor typos in comments
authorHolger Dell <github@holgerdell.com>
Wed, 4 Jun 2014 05:16:46 +0000 (00:16 -0500)
committerRob Browning <rlb@defaultvalue.org>
Wed, 4 Jun 2014 18:31:27 +0000 (13:31 -0500)
Signed-off-by: Holger Dell <github@holgerdell.com>
[rlb@defaultvalue.org: adjust commit summary]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/git.py

index 826a2d1251d1f9d351004b22e3278e0e1d733501..82cd787c8ee7f148601747b673d4088bc5f6935e 100644 (file)
@@ -149,7 +149,7 @@ def mangle_name(name, mode, gitmode):
     """Mangle a file name to present an abstract name for segmented files.
     Mangled file names will have the ".bup" extension added to them. If a
     file's name already ends with ".bup", a ".bupl" extension is added to
-    disambiguate normal files from semgmented ones.
+    disambiguate normal files from segmented ones.
     """
     if stat.S_ISREG(mode) and not stat.S_ISREG(gitmode):
         return name + '.bup'
@@ -167,9 +167,9 @@ def demangle_name(name):
     the following:
 
     * BUP_NORMAL  : files that should be read as-is from the repository
-    * BUP_CHUNKED : files that were chunked and need to be assembled
+    * BUP_CHUNKED : files that were chunked and need to be reassembled
 
-    For more information on the name mangling algorythm, see mangle_name()
+    For more information on the name mangling algorithm, see mangle_name()
     """
     if name.endswith('.bupl'):
         return (name[:-5], BUP_NORMAL)