From: ng0 <ng0@n0.is>
To: Catonano <catonano@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: workflow
Date: Thu, 4 Jan 2018 10:12:13 +0000 [thread overview]
Message-ID: <20180104101213.d4gcgqihxu6d77eb@abyayala> (raw)
In-Reply-To: <CAJ98PDxfdkE-Jd24PF6+83g2hX5onT9CkR8XtgEZRa2Ztnra9g@mail.gmail.com>
[-- 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 --]
next prev parent reply other threads:[~2018-01-04 10:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 9:37 workflow Catonano
2018-01-04 9:46 ` workflow Catonano
2018-01-04 10:12 ` ng0 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180104101213.d4gcgqihxu6d77eb@abyayala \
--to=ng0@n0.is \
--cc=catonano@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).