{"id":16935374,"url":"https://github.com/knu/di","last_synced_at":"2025-03-22T12:31:46.473Z","repository":{"id":834884,"uuid":"554356","full_name":"knu/di","owner":"knu","description":"A wrapper around GNU diff(1)","archived":false,"fork":false,"pushed_at":"2021-12-26T12:01:45.000Z","size":82,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T11:05:29.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knu.png","metadata":{"files":{"readme":"README.rdoc","changelog":"HISTORY","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-03-09T15:22:49.000Z","updated_at":"2021-12-26T12:01:46.000Z","dependencies_parsed_at":"2022-07-05T18:07:22.735Z","dependency_job_id":null,"html_url":"https://github.com/knu/di","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fdi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fdi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fdi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knu%2Fdi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knu","download_url":"https://codeload.github.com/knu/di/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959442,"owners_count":20538625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T20:54:22.110Z","updated_at":"2025-03-22T12:31:46.195Z","avatar_url":"https://github.com/knu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= di\n\n* https://github.com/knu/di\n\n== DESCRIPTION:\n\ndi - a wrapper around GNU diff(1)\n\n== FEATURES:\n\nThe di(1) command wraps around GNU diff(1) to provide reasonable\ndefault settings and some original features:\n\n  - Useful options turned on by default: -U3 -N -p -d.\n\n  - Diff output is colorized, and paginated by user's favorite pager.\n\n  - Non-significant files are ignored by default, such as backup\n    files, object files, VCS administration files, etc. a la\n    rsync(1)'s --cvs-ignore option.\n\n  - Ignore difference of lines containing RCS tags.\n\n  - Perform recursive comparison.\n\n  - Support combinations of command line options that GNU diff(1) is\n    expected to but does not support.\n\n  - Default set of options are configurable via environment variable.\n\n  - Any option can be negated from a command line. (Specify -N- to\n    negate the default -N, etc.)\n\n== SYNOPSIS:\n\nRun di --help for help.\n\n== USAGE:\n\nJust use di(1) for diff(1) as a wrapper.\n\nThere are a few occations you shouldn't simply substitute di(1) for\ndiff(1).  For example, svn calls the external diff for each changed\nfile, so the pagination enabled by default would be annoying.\n\nIn such a case, you can have a non-paginating version of di as below:\n\n    # Give it another name\n    ln di ndi\n\n    # Set default options for the new command; put these lines in your\n    # shell's startup file\n    NDI_OPTIONS=--no-pager\n    export NDI_OPTIONS\n\nThen set diff-cmd to the new command in ~/.subversion/config.\n\n    [helpers]\n    diff-cmd = ndi\n\n== REQUIREMENTS:\n\n- Ruby 1.8.7 or later\n\n- GNU diff(1)\n\n== INSTALL:\n\n    gem install di\n\nOr just install lib/di.rb as \"di\" to a directory in your PATH.\n\n== COPYRIGHT:\n\nCopyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Akinori MUSHA\n\nSee LICENSE for license terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fdi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknu%2Fdi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknu%2Fdi/lists"}