* workflow
@ 2018-01-04 9:37 Catonano
2018-01-04 9:46 ` workflow Catonano
2018-01-04 10:15 ` workflow Danny Milosavljevic
0 siblings, 2 replies; 9+ messages in thread
From: Catonano @ 2018-01-04 9:37 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]
I am trying to use git worktree, as suggested
I'm tying to update python-magic from 0.4.3 to 0.4.15 in a worktree based
branch
The new version builds fine
But in preparing the commit, I find a lot of files that I didn't touch to
be changed
$ git status
Sul branch update-tryton
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: gnu/packages/python.scm
modified: po/guix/cs.po
modified: po/guix/da.po
modified: po/guix/de.po
modified: po/guix/eo.po
modified: po/guix/fr.po
modified: po/guix/hu.po
modified: po/guix/pl.po
modified: po/guix/pt_BR.po
modified: po/guix/sr.po
modified: po/guix/vi.po
modified: po/guix/zh_CN.po
modified: po/packages/da.po
modified: po/packages/de.po
modified: po/packages/eo.po
modified: po/packages/fr.po
modified: po/packages/hu.po
modified: po/packages/pl.po
modified: po/packages/pt_BR.po
modified: po/packages/sr.po
modified: po/packages/vi.po
I only edited the first one, gnu/packages/python.scm
I didn't remember this to happen before testing git worktree
Right ?
What are these po/* files ?
[-- Attachment #2: Type: text/html, Size: 1666 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: workflow
2018-01-04 9:37 workflow Catonano
@ 2018-01-04 9:46 ` Catonano
2018-01-04 10:12 ` workflow ng0
2018-01-04 10:13 ` workflow Hartmut Goebel
2018-01-04 10:15 ` workflow Danny Milosavljevic
1 sibling, 2 replies; 9+ messages in thread
From: Catonano @ 2018-01-04 9:46 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]
2018-01-04 10:37 GMT+01:00 Catonano <catonano@gmail.com>:
> I am trying to use git worktree, as suggested
>
> I'm tying to update python-magic from 0.4.3 to 0.4.15 in a worktree based
> branch
>
> The new version builds fine
>
> But in preparing the commit, I find a lot of files that I didn't touch to
> be changed
>
> $ git status
> Sul branch update-tryton
> 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: gnu/packages/python.scm
> modified: po/guix/cs.po
> modified: po/guix/da.po
> modified: po/guix/de.po
> modified: po/guix/eo.po
> modified: po/guix/fr.po
> modified: po/guix/hu.po
> modified: po/guix/pl.po
> modified: po/guix/pt_BR.po
> modified: po/guix/sr.po
> modified: po/guix/vi.po
> modified: po/guix/zh_CN.po
> modified: po/packages/da.po
> modified: po/packages/de.po
> modified: po/packages/eo.po
> modified: po/packages/fr.po
> modified: po/packages/hu.po
> modified: po/packages/pl.po
> modified: po/packages/pt_BR.po
> modified: po/packages/sr.po
> modified: po/packages/vi.po
>
> I only edited the first one, gnu/packages/python.scm
>
> I didn't remember this to happen before testing git worktree
> Right ?
>
> What are these po/* files ?
>
This is a little bit annoying, as I can't rebase my branch on master in
order to edit the commit message without dealing with those too (stashing
or checking them out back to where they were)
Nothing unsurmountable, I was just curious if there's a best practice here
[-- Attachment #2: Type: text/html, Size: 2367 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: workflow
2018-01-04 9:46 ` workflow Catonano
@ 2018-01-04 10:12 ` ng0
2018-01-06 22:17 ` workflow Chris Marusich
2018-01-04 10:13 ` workflow Hartmut Goebel
1 sibling, 1 reply; 9+ messages in thread
From: ng0 @ 2018-01-04 10:12 UTC (permalink / raw)
To: Catonano; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 2684 bytes --]
Catonano transcribed 4.7K bytes:
> 2018-01-04 10:37 GMT+01:00 Catonano <catonano@gmail.com>:
>
> > I am trying to use git worktree, as suggested
> >
> > I'm tying to update python-magic from 0.4.3 to 0.4.15 in a worktree based
> > branch
> >
> > The new version builds fine
> >
> > But in preparing the commit, I find a lot of files that I didn't touch to
> > be changed
> >
> > $ git status
> > Sul branch update-tryton
> > 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: gnu/packages/python.scm
> > modified: po/guix/cs.po
> > modified: po/guix/da.po
> > modified: po/guix/de.po
> > modified: po/guix/eo.po
> > modified: po/guix/fr.po
> > modified: po/guix/hu.po
> > modified: po/guix/pl.po
> > modified: po/guix/pt_BR.po
> > modified: po/guix/sr.po
> > modified: po/guix/vi.po
> > modified: po/guix/zh_CN.po
> > modified: po/packages/da.po
> > modified: po/packages/de.po
> > modified: po/packages/eo.po
> > modified: po/packages/fr.po
> > modified: po/packages/hu.po
> > modified: po/packages/pl.po
> > modified: po/packages/pt_BR.po
> > modified: po/packages/sr.po
> > modified: po/packages/vi.po
> >
> > I only edited the first one, gnu/packages/python.scm
> >
> > I didn't remember this to happen before testing git worktree
> > Right ?
> >
> > What are these po/* files ?
> >
>
>
> This is a little bit annoying, as I can't rebase my branch on master in
> order to edit the commit message without dealing with those too (stashing
> or checking them out back to where they were)
>
> Nothing unsurmountable, I was just curious if there's a best practice here
Yeah, it can be confusing at first when someone is not used to .po files.
You can stash those po/* files, it's the first thing I do if I ever
happen to work on a complete new checkout.
They are the translation files, pulled in by the bootstrap/configure process of
Guix.
I would commit your changes to gnu/packages/python.scm and then simply run
git stash
If you'd ever want to get those files back (you don't really need to), you
can take a look at the options of git stash or the general stash workflow.
git stash apply would reapply those changes on top of you current HEAD.
You could also drop the stashed changes, etc.
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
WWW: https://n0.is/a/ :: https://ea.n0.is
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: workflow
2018-01-04 9:46 ` workflow Catonano
2018-01-04 10:12 ` workflow ng0
@ 2018-01-04 10:13 ` Hartmut Goebel
2018-01-04 11:30 ` workflow Catonano
1 sibling, 1 reply; 9+ messages in thread
From: Hartmut Goebel @ 2018-01-04 10:13 UTC (permalink / raw)
To: guix-devel
Am 04.01.2018 um 10:46 schrieb Catonano:
> This is a little bit annoying, as I can't rebase my branch on master
> in order to edit the commit message without dealing with those too
> (stashing or checking them out back to where they were)
Try this:
git checkout po
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: workflow
2018-01-04 9:37 workflow Catonano
2018-01-04 9:46 ` workflow Catonano
@ 2018-01-04 10:15 ` Danny Milosavljevic
2018-01-04 11:31 ` workflow Catonano
1 sibling, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2018-01-04 10:15 UTC (permalink / raw)
To: Catonano; +Cc: guix-devel
> What are these po/* files ?
Translations of human-readable text.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-01-06 22:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-04 9:37 workflow Catonano
2018-01-04 9:46 ` workflow Catonano
2018-01-04 10:12 ` workflow ng0
2018-01-06 22:17 ` workflow Chris Marusich
2018-01-06 22:56 ` workflow ng0
2018-01-04 10:13 ` workflow Hartmut Goebel
2018-01-04 11:30 ` workflow Catonano
2018-01-04 10:15 ` workflow Danny Milosavljevic
2018-01-04 11:31 ` workflow Catonano
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).