[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title Mark Waite resolved as Fixed Change included in git client plugin 1.19.6, released 6 Mar 2016 Jenkins / JENKINS-20991 Git checkout fails in some projects Change By: Mark Waite Status: Reopened Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title SCM/JIRA link daemon commented on JENKINS-20991 Re: Git checkout fails in some projects Code changed in jenkins User: Evildethow Path: src/main/java/org/jenkinsci/plugins/gitclient/CliGitAPIImpl.java http://jenkins-ci.org/commit/git-client-plugin/a9f57aa55e42f7af7ebced7bc73a336582bcdded Log: JENKINS-20991 - Sanitize rev-parse output with trimToNull() Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title Owen Wood commented on JENKINS-20991 Re: Git checkout fails in some projects Mark Waite Here is a PR that basically looks for the first non blank line in the results and returns it or else null - https://github.com/jenkinsci/git-client-plugin/pull/199 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title Mark Waite edited a comment on JENKINS-20991 Re: Git checkout fails in some projects Would it be enough to trim the rev-parse result?Something like applying a {noformat} replaceAll("\\s{2,}", " ") {noformat} to the string if it is detected that it has multiple lines? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title Mark Waite commented on JENKINS-20991 Re: Git checkout fails in some projects Would it be enough to trim the rev-parse result? Something like applying a replaceAll("s {2,} ", " ") to the string if it is detected that it has multiple lines? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title Owen Wood commented on JENKINS-20991 Re: Git checkout fails in some projects Mark Waite Can you provide the repository which has that problem, and the command line git version that has the problem? Unfortunately no as it's a customers. Is it specific to a particular repository? I have only been reported two cases and they were both from the same repository. Is it specific to a particular version of git? So here are all the versions: git-client : 1.19.2 git-plugin : 2.4.1 git : 2.4.1 Is it specific to a particular type of commit, or a particular naming pattern for the commit? I haven't seem anything obvious from the 2 cases where we have seen this occur so far. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this
[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title Mark Waite commented on JENKINS-20991 Re: Git checkout fails in some projects Owen Wood thanks for finding a test case. Can you provide the repository which has that problem, and the command line git version that has the problem? Is it specific to a particular repository? Is it specific to a particular version of git? Is it specific to a particular type of commit, or a particular naming pattern for the commit? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client-plugin] (JENKINS-20991) Git checkout fails in some projects
Title: Message Title Owen Wood updated an issue Jenkins / JENKINS-20991 Git checkout fails in some projects Change By: Owen Wood Component/s: git-client-plugin Component/s: git-plugin Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.