[forge-issues] [JBoss JIRA] (FORGE-2096) Git patches fail to apply when run as a native command

Vineet Reynolds (JIRA) issues at jboss.org
Mon Mar 2 12:01:49 EST 2015


    [ https://issues.jboss.org/browse/FORGE-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13045333#comment-13045333 ] 

Vineet Reynolds commented on FORGE-2096:
----------------------------------------

Looks like it works now. Needs to be tested on Windows though. Patches for TiMo may need to be regenerated though; but then this depends on whether the generated code is consistent across environments (the import statements were out of order when I ran the TiMo Forge script).

> Git patches fail to apply when run as a native command
> ------------------------------------------------------
>
>                 Key: FORGE-2096
>                 URL: https://issues.jboss.org/browse/FORGE-2096
>             Project: Forge
>          Issue Type: Bug
>          Components: UI - Shell
>    Affects Versions: 2.12.1.Final
>            Reporter: Vineet Reynolds
>             Fix For: 2.x Future
>
>
> When I run the following commands to apply a patch in the Shell, the command seems to run fine, but the patch does not seem to be applied on the files:
> {{run --command "git apply -v --ignore-whitespace --ignore-space-change patches/admin_layer_functional.patch"}}
> {{run --command "git apply -v --ignore-whitespace --ignore-space-change patches/admin_layer_graphics.patch"}}
> The patches are from the TicketMonster 2.7.x-develop branch. They apply correctly when I use Eclipse eGit.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the forge-issues mailing list