Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit28ed48c

Browse files
committed
Implemented initial version of tree serialization which appears to work according to a simple test
( presort still needs implementation )submodule: added stub to allow the tree to return something, its not implemented though
1 parent6c1faef commit28ed48c

File tree

5 files changed

+368
-291
lines changed

5 files changed

+368
-291
lines changed

‎lib/git/ext/gitdb

Submodule gitdb updated from 10fef8f to 0ef8655

‎lib/git/objects/submodule.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
importbase
2+
3+
4+
classSubmodule(base.IndexObject):
5+
"""Implements access to a git submodule. They are special in that their sha
6+
represents a commit in the submodule's repository which is to be checked out
7+
at the path of this instance.
8+
The submodule type does not have a string type associated with it, as it exists
9+
solely as a marker in the tree and index"""
10+
11+
# this is a bogus type for base class compatability
12+
type='submodule'
13+
14+
# TODO: Add functions to retrieve a repo for the submodule, to allow
15+
# its initiailization and handling

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp