summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm/adapters/git_adapter.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-211-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "View annotation prior to this change" button in the annotate view of ↵Go MAEDA2023-04-301-1/+5
| | | | | | | | | Git (#35432). Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/MissingSuper (#36919).Go MAEDA2023-03-241-5/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Stricter validation of given revisions of repositories (#35085).Go MAEDA2021-04-231-0/+12
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for Git repositories with default branch "main" (#34942).Go MAEDA2021-03-261-7/+9
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20851 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/scm/adapters/git_adapter.rbToshi MARUYAMA2020-10-271-16/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20214 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove space inside parentheses from lib/redmine/scm/adapters/git_adapter.rbToshi MARUYAMA2020-10-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceAfterComma in ↵Toshi MARUYAMA2019-11-231-2/+2
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19201 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in ↵Toshi MARUYAMA2019-11-231-0/+8
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19200 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/MultilineIfModifier and ↵Toshi MARUYAMA2019-11-231-7/+18
| | | | | | Style/MultilineTernaryOperator in lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19199 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/IndentFirstHashElement in ↵Toshi MARUYAMA2019-11-231-27/+37
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in ↵Toshi MARUYAMA2019-11-231-4/+4
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in ↵Toshi MARUYAMA2019-11-211-11/+15
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19137 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/AccessModifierDeclarations in ↵Toshi MARUYAMA2019-11-211-1/+2
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19119 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in ↵Toshi MARUYAMA2019-11-211-1/+0
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19118 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/MultipleComparison in ↵Toshi MARUYAMA2019-10-221-5/+5
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18798 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/UnneededInterpolation in ↵Toshi MARUYAMA2019-10-221-2/+2
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18796 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/RedundantBegin in ↵Toshi MARUYAMA2019-10-081-5/+3
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/LeadingCommentSpace in ↵Toshi MARUYAMA2019-08-311-1/+2
| | | | | | lib/redmine/scm/adapters/git_adapter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18419 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Garbage lines in the output of 'git branch' break git adapter (#31120).Go MAEDA2019-04-071-0/+1
| | | | | | | Contributed by Chad Petersen. git-svn-id: http://svn.redmine.org/redmine/trunk@18046 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code clean up GitAdapterToshi MARUYAMA2019-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix non ascii branch and tag browsing (#16881)Toshi MARUYAMA2019-04-051-5/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18042 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add new one latin1 tag to test repository (#16881)Toshi MARUYAMA2019-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18040 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add new two latin1 branches to test repository (#16881)Toshi MARUYAMA2019-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code clean up GitAdapterToshi MARUYAMA2019-04-041-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18038 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code clean up GitAdapterToshi MARUYAMA2019-04-041-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18037 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #b shortcut instead of #force_encoding (#31059).Go MAEDA2019-03-201-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/**/*.rb (#26561).Go MAEDA2019-03-171-3/+3
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor GitAdapter#default_branch not to unnecessarily iterate through all ↵Go MAEDA2019-02-181-5/+5
| | | | | | | | | elements (#30828). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17883 e93f8b46-1217-0410-a6f0-8f06a7374b81
* git: remove "--no-color" option from "git --version" for git 2.14 ↵Toshi MARUYAMA2017-08-081-1/+1
| | | | | | compatibility (#26645) git-svn-id: http://svn.redmine.org/redmine/trunk@16948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove is_binary_data? from String (#25563)Toshi MARUYAMA2017-06-101-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16644 e93f8b46-1217-0410-a6f0-8f06a7374b81
* git: use '--no-renames' option in 'show' command (#25371)Toshi MARUYAMA2017-03-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16428 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Git 2.9 compatibility (#25371)Toshi MARUYAMA2017-03-201-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16422 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: simplify nil check (#18923)Toshi MARUYAMA2015-01-211-2/+2
| | | | | | On Ruby, "if []" is true git-svn-id: http://svn.redmine.org/redmine/trunk@13931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from lib/redmine/scm/adapters/git_adapter.rbToshi MARUYAMA2015-01-211-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: branches return cache too when there is no branch (#18923)Toshi MARUYAMA2015-01-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: explicitly tags return [] if there is no tag (#18923)Toshi MARUYAMA2015-01-211-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-8/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: use "--encoding=UTF-8" for blame (#14931)Toshi MARUYAMA2013-09-181-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12143 e93f8b46-1217-0410-a6f0-8f06a7374b81