Skip to content

Commit 2976561

Browse files
committed
Merge pull request #116 from lqez/master
Fix typo in tutorial
2 parents 1cb02eb + e533955 commit 2976561

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/source/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ Index Objects are objects that can be put into git's index. These objects are tr
146146
''
147147
hct.trees[0].path # the first subdirectory has one though
148148
'dir'
149-
htc.mode # trees have the mode of a linux directory
149+
oct(htc.mode) # trees have the mode of a linux directory
150150
040000
151-
'%o' % htc.blobs[0].mode # blobs have a specific mode though comparable to a standard linux fs
151+
oct(htc.blobs[0].mode) # blobs have a specific mode though comparable to a standard linux fs
152152
100644
153153
154154
Access blob data (or any object data) directly or using streams::

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy