Skip to content

Commit

Permalink
Cleanups in source codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfis committed Apr 4, 2010
1 parent 75679d4 commit 68a212a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 221 deletions.
4 changes: 3 additions & 1 deletion pitweb/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
__all__ = []
from project import Project

__all__ = [Project]
57 changes: 2 additions & 55 deletions pitweb/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,67 +16,14 @@
'diff-tree-patch' : re.compile(r'^diff --git'),
}

#Interrogation commands
#
# git-diff-files(1)
# Compares files in the working tree and the index.
#
# git-diff-index(1)
# Compares content and mode of blobs between the index and repository.
#
# git-diff-tree(1)
# Compares the content and mode of blobs found via two tree objects.
#
# git-for-each-ref(1)
# Output information on each ref.
#
# git-ls-files(1)
# Show information about files in the index and the working tree.
#
# git-ls-remote(1)
# List references in a remote repository.
#
# git-ls-tree(1)
# List the contents of a tree object.
#
# git-merge-base(1)
# Find as good common ancestors as possible for a merge.
#
# git-name-rev(1)
# Find symbolic names for given revs.
#
# git-pack-redundant(1)
# Find redundant pack files.
#
#
# git-show-index(1)
# Show packed archive index.
#
# git-show-ref(1)
# List references in a local repository.
#
# git-tar-tree(1)
# (deprecated) Create a tar archive of the files in the named tree object.
#
# git-unpack-file(1)
# Creates a temporary file with a blob's contents.
#
# git-var(1)
# Show a git logical variable.
#
# git-verify-pack(1)
# Validate packed git archive files.
#
# In general, the interrogate commands do not touch the files in the working tree.
#

class GitComm(object):
""" This class is 1:1 interface to git commands. Meaning of most
parameters of most methods should be obvious after reading man pages
of corresponding git commands.
Each method returns whole output of corresponding git command as
list of lines without any modifications (no parsing is performed).
Each method returns whole output of corresponding git command
without any modifications (no parsing is performed).
Meaning of this class is as thin layer between git commands and
python which is easier to use. All commands are run in other
Expand Down
161 changes: 0 additions & 161 deletions pitweb/objs.py

This file was deleted.

4 changes: 0 additions & 4 deletions pitweb/parser.py

This file was deleted.

0 comments on commit 68a212a

Please sign in to comment.