Граф коммитов

266 Коммитов

Автор SHA1 Сообщение Дата
Tom Preston-Werner b279025594 Update tomdoc for Repo#initialize. 2010-08-31 15:11:27 -07:00
Chris Hoffman 0a80ba282d Ruby 1.9 compatibility
* Add current directory to path for tests because 1.9 does not
* Explicity open file in binary mode to get around encoding issues
2010-08-30 17:37:38 -07:00
Tom Preston-Werner 886960895d Add Repo#init. 2010-08-30 17:37:38 -07:00
rick 72f6382068 revert Grit::Index#commit default value for parents arg 2010-08-23 11:51:19 -07:00
Tom Preston-Werner 7609e74e51 Release 2.2.0 2010-08-19 17:55:45 -07:00
Tom Preston-Werner 4da28835e8 Add Grit::Index#delete to allow deletions of files from the index. 2010-08-19 17:54:54 -07:00
gram.gibson@gmail.com 544ae9fbc4 Added attr_reader for @files in Status 2010-08-12 23:48:59 +08:00
Tom Preston-Werner 8bcad20576 Release 2.1.0 2010-08-04 19:02:19 -06:00
Tom Preston-Werner ad96dfcc81 Fix Repo#diff (was throwing an exception). 2010-08-04 17:10:37 -06:00
Igor Wiedler 0807a12697 make repo.head a Head instead of string 2010-08-04 14:11:55 -07:00
rick de053c492d Merge branch 'diff_renames' into diffs 2010-08-04 13:53:48 -07:00
rick b476d7a9f4 merge, update history 2010-08-04 13:53:40 -07:00
rick b80604c177 track renames in git diff 2010-08-04 13:51:40 -07:00
rick 4f2041652a Grit::Commit#diffs and Grit::Commit.diffs both take a git options hash that is passed to diff --git a/History.txt b/History.txt
index d53b179..0a61ff5 100644
--- a/History.txt
+++ b/History.txt
@@ -3,6 +3,8 @@
     * Add support for parsing annotated tag objects.
     * Add Grit::Repo#recent_tag_name for getting the latest tag name that is
       reachable in a commit.
+    * Grit::Commit#diffs and Grit::Commit.diffs both take a git options hash
+      that is passed to `git diff`.
   * Bug Fixes
     * Add no_quote option for fixing tag listings.
     * Raise custom exceptions on invalid tree objects.
2010-08-04 11:59:15 -07:00
Tom Preston-Werner c0f0b4f7a6 Update to use RakeGem. 2010-08-03 17:17:05 -06:00
Tom Preston-Werner 09bae2d065 Update from GitHub. 2010-08-03 17:05:19 -06:00
rick cdf5bf530b Merge branch 'tag_annotation' into epic 2010-08-03 15:44:43 -07:00
Ryan Tomayko 8f203a16cd raise custom exception when invalid objects found in tree
So we can rescue something more specific than RuntimeError to detect
this situation.

Signed-off-by: rick <technoweenie@gmail.com>
2010-05-26 21:57:30 -07:00
Scott Chacon 3073a5c70d merge in tag listing fix
Signed-off-by: rick <technoweenie@gmail.com>
2010-05-26 21:53:57 -07:00
rick 2e18031fbb default to commit for missing tag attributes 2010-05-13 16:41:05 -07:00
rick 15fb62f85f parse tagger/tag_date info from annotated tags. default to commit author/authored_date on lightweight tags 2010-05-13 11:47:48 -07:00
rick 23a289c08f handle the inability to read missing tag messages 2010-05-12 14:47:57 -07:00
rick 710a93d50e add lightweight tag message parsing 2010-05-12 12:47:49 -07:00
rick 5784c87593 add annotated tag message parsing 2010-05-12 12:21:15 -07:00
rick a402c8a3b2 return nil from Repo#recent_tag_name if the given committish is invalid 2010-04-19 23:39:19 -04:00
rick b55c67f038 revelation: --abbrev and --long options give me the output i really want 2010-04-18 11:45:18 -04:00
rick 704ea65710 add Grit::Repo#recent_tag_name for getting the result of `git describe` on a repo 2010-04-16 23:37:06 -04:00
Tom Preston-Werner 0bd0c5ff03 implement select_existing_objects 2010-03-03 13:30:10 -08:00
Chris Wanstrath 1937a1e492 Make pure-ruby `ls-tree -r` work with commits 2010-02-10 14:29:42 -08:00
Ryan Tomayko d7d2eb5e6c close open files as soon as possible 2010-02-10 13:05:06 -08:00
Ryan Tomayko d731f85a6e raise NoSuchPath with no tree in ls_tree_path 2010-02-10 13:03:25 -08:00
Chris Wanstrath 2049a1377b `git ls-tree -r SHA` 2010-02-10 13:01:40 -08:00
Chris Wanstrath 1b38017db2 Pass along the options to Real Git on a rev-parse miss 2010-01-28 15:50:11 -08:00
PJ Hyett 2f1f63e4e9 left out a period 2009-12-02 00:54:02 -08:00
PJ Hyett 5251fd61f6 add merge commit diff support 2009-12-01 17:19:03 -08:00
PJ Hyett 1911fe1459 allow diff to only take one sha 2009-12-01 17:18:35 -08:00
Tom Preston-Werner 18ec70e916 massive whitespace removal 2009-10-27 12:35:43 -07:00
Tom Preston-Werner 4fe0ec0102 fix tags 2009-10-27 12:25:08 -07:00
Tom Preston-Werner 31639bd9d7 change default bareness 2009-10-27 12:24:55 -07:00
Tom Preston-Werner 8615b5ff0c remove redundant fs methods 2009-10-27 12:24:25 -07:00
Tom Preston-Werner 2613204eed back out work-tree change, it was breaking github 2009-10-27 12:23:36 -07:00
Tom Preston-Werner 10476c3e66 do not fail for stupidity of mime-types in rubygems <= 1.2.0 2009-08-27 15:55:23 -07:00
Tom Preston-Werner 2e78057fda Merge branch 'master' into smoke 2009-08-03 17:11:57 -07:00
Chris Wanstrath b93ec95e50 Make another attempt to identify new and deleted files in Grit#Diff 2009-07-28 11:41:00 -07:00
Chris Wanstrath 00ed8432ee Ensure RubyGit's diff matches real Git's output 2009-07-28 10:43:33 -07:00
Chris Wanstrath 5012845691 Fix RubyGit's diff to detect additions and deletions 2009-07-28 10:26:46 -07:00
Tom Preston-Werner c701103859 have Commit#short_message use first non-empty message line. closes gh-1. 2009-07-23 18:25:55 -07:00
Tom Preston-Werner d5cde35beb windows support 2009-07-23 17:52:32 -07:00
Tom Preston-Werner 0bbd902cbb Merge commit 'a88d1d96985074db9c37f3f50a45fd089d8b4a12' into smoke 2009-07-23 16:45:08 -07:00
Tom Preston-Werner 4e694b9a37 further file system abstractions 2009-07-23 15:39:02 -07:00