From: Federico Beffa <beffa@ieee.org>
To: Guix-devel <guix-devel@gnu.org>
Subject: .po files and git pull --rebase
Date: Wed, 5 Nov 2014 18:34:59 +0100 [thread overview]
Message-ID: <CAKrPhPPV+oRk1xZx=F80tsQ8fLe22YxvJHr=Rdv9R7TDxx-k5g@mail.gmail.com> (raw)
Hi,
when I try to update my git repository with "git pull --rebase", I get
the error message:
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.
Now, "git status" tells me that there are the following .po files
which are modified and not staged:
# 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: po/guix/cs.po
# modified: po/guix/de.po
# modified: po/guix/eo.po
# modified: po/guix/hu.po
# modified: po/guix/pt_BR.po
# modified: po/guix/sr.po
# modified: po/guix/vi.po
# modified: po/packages/de.po
# modified: po/packages/eo.po
# modified: po/packages/pt_BR.po
# modified: po/packages/sr.po
# modified: po/packages/vi.po
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# doc/os-config.texi
However, I've not intentionally changed those files. I suspect that "make" did.
Is it OK to tell git to ignore those files with:
git update-index --assume-unchanged po/guix/cs.po
...
Thanks,
Fede
next reply other threads:[~2014-11-05 17:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-05 17:34 Federico Beffa [this message]
2014-11-05 20:29 ` .po files and git pull --rebase Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKrPhPPV+oRk1xZx=F80tsQ8fLe22YxvJHr=Rdv9R7TDxx-k5g@mail.gmail.com' \
--to=beffa@ieee.org \
--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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.