<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-06-27 14:18 GMT+02:00 James Cowgill <span dir="ltr"><<a href="mailto:jcowgill@debian.org" target="_blank">jcowgill@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<span class="gmail-"><br>
On 27/06/17 13:12, Jaromír Mikeš wrote:<br>
> 2017-06-27 13:14 GMT+02:00 James Cowgill <<a href="mailto:jcowgill@debian.org">jcowgill@debian.org</a><br>
</span>> <mailto:<a href="mailto:jcowgill@debian.org">jcowgill@debian.org</a>>>:<br>
<span class="gmail-">><br>
>     Hi,<br>
><br>
>     On 27/06/17 12:11, Jaromír Mikeš wrote:<br>
>     > 2017-06-27 12:06 GMT+02:00 Fabian Greffrath <<a href="mailto:fabian@greffrath.com">fabian@greffrath.com</a> <mailto:<a href="mailto:fabian@greffrath.com">fabian@greffrath.com</a>><br>
</span>>     > <mailto:<a href="mailto:fabian@greffrath.com">fabian@greffrath.com</a> <mailto:<a href="mailto:fabian@greffrath.com">fabian@greffrath.com</a>>><wbr>>:<br>
<span class="gmail-">>     ><br>
>     >     Jaromír Mikeš wrote:<br>
>     ><br>
>     ><br>
>     > Hi Fabian,<br>
>     ><br>
>     ><br>
>     >     > Can someone advise me how to fix it pls?<br>
>     ><br>
>     >     Do you have any patches applied? If yes, unapply them before<br>
>     >     attempting to<br>
>     >     merge the new upstream release.<br>
>     ><br>
>     >     If this doesn't help, try calling "git checkout -- " on the files git<br>
>     >     complains about.<br>
>     ><br>
>     ><br>
>     > Tried this now but it didn't help :(<br>
><br>
>     This might work:<br>
><br>
>     Ensure everything is stashed / committed<br>
>     Delete all the files in your working directory<br>
>     Run:<br>
>     $ git checkout upstream -- .<br>
>     $ git checkout -- debian/ .gitignore<br>
><br>
>     Commit the result<br>
><br>
><br>
> Still not work :(<br>
<br>
</span>What happens when you run the above? It seems to work OK for me<br>
(dpkg-buildpackage -S works).</blockquote><div><br>$ git checkout upstream --<br>Switched to branch 'upstream'<br>Your branch is up-to-date with 'origin/upstream'.<br>$ git checkout -- debian/ .gitignore<br>error: pathspec 'debian/' did not match any file(s) known to git.<br>error: pathspec '.gitignore' did not match any file(s) known to git.<br>$ git status <br>On branch master<br>Your branch is ahead of 'origin/master' by 2 commits.<br>  (use "git push" to publish your local commits)<br>nothing to commit, working tree clean<br></div><div><br></div><div>I am building with pbuilder:<br>gbp buildpackage --git-pbuilder  --git-dist=sid --git-pristine-tar <br><br></div><div>mira<br></div></div></div></div>