rugged icon indicating copy to clipboard operation
rugged copied to clipboard

ruby bindings to libgit2

Results 128 rugged issues
Sort by recently updated
recently updated
newest added

when I call new_file[:path] / old_file[:path] of Rugged::Diff::Delta, I got result as follow: ``` [{:path=>"test/.keep", :type=>"added"}, {:path=>"test/\xE4\xB8\xAD\xE6\x96\x87\xE5\x90\x8D\xE6\xB5\x8B\xE8\xAF\x95\xE4\xB8\x80.txt", :type=>"added"}, {:path=>"test/\xE4\xB8\xAD\xE6\x96\x87\xE5\x90\x8D\xE6\xB5\x8B\xE8\xAF\x95\xE4\xB8\x89.txt", :type=>"added"}, {:path=>"test/\xE4\xB8\xAD\xE6\x96\x87\xE5\x90\x8D\xE6\xB5\x8B\xE8\xAF\x95\xE4\xBA\x8C.txt", :type=>"added"}, {:path=>"\xE4\xB8\xAD\xE6\x96\x87. \xE5\x91\xBD\xE5\x90\x8D1.txt", :type=>"added"}]} ``` when I copy the...

Getting below error while cloning the git repo. Rugged gem version: **0.21.4** Ruby version: **ruby 2.2.1p85** ``` Rugged::NetworkError: Unexpected HTTP status code: 401 from (irb):175:in `clone_at' ```

## Summary When target file path has a space(eg: 'README.md '), `Rugged::Tree.diff(..., paths: ['README.md ']).patches` return empty array. This should be a problem caused by the ext or libgit2, but...

The latest release on RubyGems is 0.27.7, but the latest tag in this repository is 0.27.5. This is about the third time I’m reporting such issue, please automate this…

Does anyone have a quick example they can share emulating a git pull using fetch and merge? Struggling a bit trying to sift through the docs.

I was able to patch an issue present in 4a0b24c4065c6d977d4596cfb48b55999fecae9f for the submodule vendor/libgit2 regarding htonll . I read https://github.com/libgit2/rugged/blob/master/README.md#development , but I am unable to figure out how to...

I'm running /opt/puppetlabs/puppet/bin/r10k deploy environment but this results in /opt/puppetlabs/puppet/lib/ruby/gems/2.5.0/gems/rugged-1.1.0/lib/rugged/repository.rb:257: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0027 p:---- s:0175 e:000174...

While `README.md` mostly covers popular use cases, I found that https://www.rubydoc.info/github/libgit2/rugged/Rugged/Branch is still an invaluable reference, which is not linked from the main page. Definitely useful.

ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin19] rugged 1.1.0 The Rugged::Walker#push method is supposed to accept an oid string or a Rugged::Commit instance according to the docs: https://www.rubydoc.info/gems/rugged/Rugged/Walker#push-instance_method However, we're seeing...

Is it possible to get commit diff string in Rugged in the same format as `git diff --word-diff` or `git diff --color` provide?