[ 
https://issues.apache.org/jira/browse/SCM-738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962800#comment-17962800
 ] 

ASF GitHub Bot commented on SCM-738:
------------------------------------

jira-importer opened a new issue, #945:
URL: https://github.com/apache/maven-scm/issues/945

   **[Dimitri 
Koussa](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dimitri.koussa)**
 opened 
**[SCM-738](https://issues.apache.org/jira/browse/SCM-738?redirect=false)** and 
commented
   
   GitStatusConsumer has
   
   ```java
   private static final String MODIFIED_PATTERN = "^#\\s*modified:\\s*(.*)";
   ```
   
   git status output from 1.8.4.3
   
   ```
   1. On branch master
   1. Changes not staged for commit:
   1.   (use "git add <file>..." to update what will be committed)
   1.   (use "git checkout 

> GitStatusConsumer fails to correctly parse git 1.8.5 status output
> ------------------------------------------------------------------
>
>                 Key: SCM-738
>                 URL: https://issues.apache.org/jira/browse/SCM-738
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-gitexe
>    Affects Versions: 1.7
>            Reporter: Dimitri Koussa
>            Assignee: Robert Scholte
>            Priority: Major
>
> GitStatusConsumer has
> {code:java}
> private static final String MODIFIED_PATTERN = "^#\\s*modified:\\s*(.*)";
> {code}
> git status output from 1.8.4.3
> {noformat}
> # On branch master
> # Changes not staged for commit:
> #   (use "git add <file>..." to update what will be committed)
> #   (use "git checkout -- <file>..." to discard changes in working directory)
> #
> #     modified:   fileAbc
> #
> no changes added to commit (use "git add" and/or "git commit -a")
> {noformat}
> git status output from 1.8.5
> {noformat}
> On branch master
> Your branch is ahead of 'origin/master' by 7 commits.
>   (use "git push" to publish your local commits)
> Changes to be committed:
>   (use "git reset HEAD <file>..." to unstage)
>       new file:   fileAbc
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to