From cbf72e3bfd1f62b35cc2db623be531f7f9c9275c Mon Sep 17 00:00:00 2001 From: scott Chacon Date: Tue, 13 Nov 2007 09:58:26 -0800 Subject: updated the TODO file with the stuff I'm working on next --- README | 15 +++++++++++---- TODO | 23 ++++++++++++++++++++++- doc/created.rid | 2 +- doc/files/README.html | 26 +++++++++++++++++++++----- 4 files changed, 55 insertions(+), 11 deletions(-) diff --git a/README b/README index c10117d..908b8cf 100644 --- a/README +++ b/README @@ -32,13 +32,20 @@ Git::Diff - returns from a @git.diff command. It is an Enumerable that returns Git::Diff:DiffFile objects from which you can get per file patches and insertion/deletion statistics. You can also get total statistics from the Git::Diff object directly. -Git::Status +Git::Status - returns from a @git.status command. It is an Enumerable that returns +Git:Status::StatusFile objects for each object in git, which includes files in the working +directory, in the index and in the repository. Similar to running 'git status' on the command +line to determine untracked and changed files. -Git::Branches +Git::Branches - Enumerable object that holds Git::Branch objects. You can call .local or .remote +on it to filter to just your local or remote branches. -Git::Remote +Git::Remote - A reference to a remote repository that is tracked by this repository. -Git::Log +Git::Log - An Enumerable object that references all the Git::Object::Commit objects that encompass +your log query, which can be constructed through methods on the Git::Log object, like: + + @git.log(20).object("HEAD^").since("2 weeks ago").between('v2.6', 'v2.7').each { |commit| [block] } = Examples diff --git a/TODO b/TODO index 9ae76f5..0a63883 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,34 @@ * more documentation -* compatible with git 1.4 + +* object.name (git name-rev) * git archive +* git revert, stash, rebase + +* more low level index actions + - (with_index), checkout-index, read-tree, write-tree, update-ref + +* submodule support + +* diff additions + - annotate, blame + +* repository admin + - prune, fsck, pack-refs, gc, count-objects, unpack-objects + +* email/patch integration + - request-pull(email_address), git-am, git-apply + + +* compatible with git 1.4 + * More Error Examples * More Git::Status methods + * Speed up through pure ruby * Speed up through C bindings to libgit-thin diff --git a/doc/created.rid b/doc/created.rid index f9d24d4..c9a65f9 100644 --- a/doc/created.rid +++ b/doc/created.rid @@ -1 +1 @@ -Tue Nov 13 07:35:28 PST 2007 +Tue Nov 13 08:54:42 PST 2007 diff --git a/doc/files/README.html b/doc/files/README.html index 0832d66..69d8471 100644 --- a/doc/files/README.html +++ b/doc/files/README.html @@ -56,7 +56,7 @@ Last Update: - Tue Nov 13 06:53:10 PST 2007 + Tue Nov 13 08:54:36 PST 2007 @@ -117,17 +117,33 @@ also get total statistics from the Git::Diff object directly.

-Git::Status +Git::Status - returns from a +@git.status command. It is an Enumerable that returns Git:Status::StatusFile objects for each +object in git, which includes files in the working directory, in the index +and in the repository. Similar to running ‘git status’ on the +command line to determine untracked and changed files.

-Git::Branches +Git::Branches - Enumerable +object that holds Git::Branch +objects. You can call .local or .remote on it to filter to just your local +or remote branches.

-Git::Remote +Git::Remote - A reference to a +remote repository that is tracked by this repository.

-Git::Log +Git::Log - An Enumerable object that +references all the Git::Object::Commit objects +that encompass your log query, which can be constructed through methods on +the Git::Log object, like:

+
+ @git.log(20).object("HEAD^").since("2 weeks ago").between('v2.6', 'v2.7').each { |commit| [block] }
+

Examples

Here are a bunch of examples of how to use the Ruby/