This project tries to mimic some of the features of Git. The primary goal is to appreciate the effort behind such a marvelous technology that we all use today and to understand how things work behind the scenes.
Other
0
stars
2
forks
source link
Handling issue of not finding .git/objects inside a folder using hash-object in hash-object.cpp #4
user@854aca95bd24:~/abc$ git_2.0 write-tree -w ./
Too many parmeters to write-tree.
Usage: write-tree
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: cannot create directory: No such file or directory [.git/objects/d5]
Aborted
user@854aca95bd24:~/abc$ git_2.0 write-tree -w ./ Too many parmeters to write-tree. Usage: write-tree
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
what(): filesystem error: cannot create directory: No such file or directory [.git/objects/d5]
Aborted