From ce3f415e2f6a653afc08a83344cd5009cbc493b9 Mon Sep 17 00:00:00 2001 From: Park Hyunwoo Date: Tue, 30 Jul 2013 15:08:33 +0900 Subject: [PATCH] Fix typo in tutorial and wrong representation of tree mode --- doc/source/tutorial.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/tutorial.rst b/doc/source/tutorial.rst index c176ed0c7..56c026170 100644 --- a/doc/source/tutorial.rst +++ b/doc/source/tutorial.rst @@ -146,9 +146,9 @@ Index Objects are objects that can be put into git's index. These objects are tr '' hct.trees[0].path # the first subdirectory has one though 'dir' - htc.mode # trees have the mode of a linux directory - 040000 - '%o' % htc.blobs[0].mode # blobs have a specific mode though comparable to a standard linux fs + hct.mode # trees have the mode of a linux directory + 16384 + '%o' % hct.blobs[0].mode # blobs have a specific mode though comparable to a standard linux fs 100644 Access blob data (or any object data) directly or using streams::