From: Arnauld Van Muysewinkel <arnauldvm@gmail.com>
To: git@vger.kernel.org
Subject: [QUESTION] or [BUG] Could not stash new bin files
Date: Mon, 19 Apr 2010 10:19:25 +0200 [thread overview]
Message-ID: <p2rc8485ef11004190119q590aea5dy516bdc3d222ebb51@mail.gmail.com> (raw)
I'm quite new to Git (using it since a few weeks only) and really like
this tool. This is a great improvement over Svn that I was using until
now. (Still using it for the company master repository though.)
I have the following problem:
I want to stash new files. I tried the combination "git add" / "git
stash" but it does not work. Did I do something wrong, is it a special
case, or some kind of bug?
Does anybody have a clue?
Here are the details:
$ git add -N XXX/src/jrxml/*.xls
$ git stash save --keep-index "Improving performance of views"
XXX/src/jrxml/SubCellMatrixCompared-EXPLAIN-new.xls: not added yet
XXX/src/jrxml/SubCellMatrixCompared-EXPLAIN-old.xls: not added yet
fatal: git-write-tree: error building trees
Cannot save the current index state
$ git status
# On branch MS9
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: XXX/.settings/org.eclipse.wst.common.component
# new file: XXX/src/jrxml/SubCellMatrixCompared-EXPLAIN-new.xls
# new file: XXX/src/jrxml/SubCellMatrixCompared-EXPLAIN-old.xls
#
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working
directory)
#
# modified: XXX/src/jrxml/SubCellMatrixCompared-EXPLAIN-new.xls
# modified: XXX/src/jrxml/SubCellMatrixCompared-EXPLAIN-old.xls
#
$ git version
git version 1.7.0.2.msysgit.0
Specificities:
* I have a file in the index that I do not want to stash
* The two new files are binary files
* I'm running this on windows (msysgit)
Please tell me, should you need any extra information.
--
Arnauld Van Muysewinkel
next reply other threads:[~2010-04-19 8:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-19 8:19 Arnauld Van Muysewinkel [this message]
2010-04-19 9:35 ` [QUESTION] or [BUG] Could not stash new bin files Jonathan Nieder
2010-04-19 12:41 ` Jeff King
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=p2rc8485ef11004190119q590aea5dy516bdc3d222ebb51@mail.gmail.com \
--to=arnauldvm@gmail.com \
--cc=git@vger.kernel.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.
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 NNTP newsgroup(s).