From: Petr Baudis <pasky@ucw.cz>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] git stash: Avoid data loss when saving a stash
Date: Sun, 30 Jun 2013 15:20:17 +0200 [thread overview]
Message-ID: <20130630132017.GQ12252@machine.or.cz> (raw)
In-Reply-To: <7vhaghnct4.fsf@alter.siamese.dyndns.org> <7vbo6qni1d.fsf@alter.siamese.dyndns.org> <7vobaqnkq3.fsf@alter.siamese.dyndns.org>
Hi!
On Fri, Jun 28, 2013 at 11:39:16AM -0700, Junio C Hamano wrote:
> Thanks. I'll queue it with a pair of fix-up commits on top, so that
> they can later be squashed in.
>
> The result of squashing the fix-ups would look like this.
Thanks! I agree with all of your changes.
> -- >8 --
> From: Petr Baudis <pasky@ucw.cz>
> Date: Fri, 28 Jun 2013 17:05:32 +0200
> Subject: [PATCH] git stash: avoid data loss when "git stash save" kills a directory
Hmm, it's a pity that the note that `git reset --hard` itself should
perhaps also abort in that case got lost. I don't insist on mentioning
it in the commit message, though.
On Fri, Jun 28, 2013 at 02:30:15PM -0700, Junio C Hamano wrote:
> -- >8 --
> Subject: treat_directory(): do not declare submodules in index to be untracked
Oh, you are truly awesome! I admit that properly reviewing this patch
is a little out of my depth right now as I'm not familiar with this
infrastructure. I'd just like to note...
> case index_gitdir:
> if (dir->flags & DIR_SHOW_OTHER_DIRECTORIES)
> return path_none;
> - return path_untracked;
> + return path_none;
...that the if-test can be removed now as both branches are the same.
Petr "Pasky" Baudis
next prev parent reply other threads:[~2013-06-30 13:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-28 15:05 [PATCH] git stash: Avoid data loss when saving a stash Petr Baudis
2013-06-28 18:39 ` Junio C Hamano
2013-06-30 13:20 ` Petr Baudis [this message]
2013-06-30 19:14 ` Junio C Hamano
2013-07-06 14:42 ` Petr Baudis
2013-06-28 19:37 ` Junio C Hamano
2013-06-28 21:30 ` Junio C Hamano
2013-07-01 21:59 ` [PATCH v2 0/2] Safety for "stash save" Junio C Hamano
2013-07-01 21:59 ` [PATCH v2 1/2] treat_directory(): do not declare submodules to be untracked Junio C Hamano
2013-07-01 21:59 ` [PATCH v2 2/2] git stash: avoid data loss when "git stash save" kills a directory Junio C Hamano
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=20130630132017.GQ12252@machine.or.cz \
--to=pasky@ucw.cz \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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 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.