@@ -20,7 +20,7 @@ $ chmod +x build.sh
2020$ ./build.sh
2121--- Starting mygit build process ---
2222Step 1: Configuring with CMake...
23- -- The CXX compiler identification is GNU 11.4 .0
23+ -- The CXX compiler identification is GNU 13.3 .0
2424...
2525Step 2: Building the executable...
2626[ 50%] Built target mygit
@@ -49,19 +49,19 @@ Initialized empty Git repository in /path/to/my-test-project/.git/
4949# Create a file and add it to the object database as a "blob"
5050$ echo " hello git" > hello.txt
5151$ mygit hash-object -w hello.txt
52- d90f1b40cf83b5d4313c4155abdaac3265b53026
52+ 8d0e41234f24b6da002d962a26c2495ea16a425f
5353
5454# Create a "tree" object that captures the state of the directory
5555$ mygit write-tree
56- 7c7394336c9966133c945b63cf476902d28f0b9f
56+ 07ed5a7aebb914e3a02edf6d622b82d364037e3c
5757
5858# Create a "commit" object, linking the tree with a message
59- $ mygit commit-tree 7c7394336c9966133c945b63cf476902d28f0b9f -m " Initial commit"
60- 1b2e67a423e8b0ed5d46924d567027582b12367d
59+ $ mygit commit-tree 07ed5a7aebb914e3a02edf6d622b82d364037e3c -m " Initial commit"
60+ 2103525aff710463c0981ca9dc37c0ebb027335a
6161
6262# Inspect the final commit object we just created
63- $ / mygit cat-file -p 1b2e67a423e8b0ed5d46924d567027582b12367d
64- tree 7c7394336c9966133c945b63cf476902d28f0b9f
63+ $ mygit cat-file -p 2103525aff710463c0981ca9dc37c0ebb027335a
64+ tree 07ed5a7aebb914e3a02edf6d622b82d364037e3c
6565author Mathis-L < mathislafon@gmail.com> 1721245200 +0000
6666committer Mathis-L < mathislafon@gmail.com> 1721245200 +0000
6767
@@ -116,7 +116,7 @@ You will need a C++23 compatible compiler and the following dependencies:
116116On Debian/Ubuntu, you can install them with:
117117``` bash
118118sudo apt-get update
119- sudo apt-get install -y build-essential cmake libssl-dev zlib1g-dev
119+ sudo apt-get install -y build-essential cmake libssl-dev zlib1g-dev libcurl4-openssl-dev
120120```
121121
122122And for cpr you will have to do :
0 commit comments