* [PATCH] clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...)
@ 2015-01-05 13:29 Nguyễn Thái Ngọc Duy
2015-01-06 19:17 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Nguyễn Thái Ngọc Duy @ 2015-01-05 13:29 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano, Nguyễn Thái Ngọc Duy
From: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
This is in the SQUASH??? commit on nd/untracked-cache on 'pu', but it
fixes a commit older than that series.
builtin/clean.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/clean.c b/builtin/clean.c
index 1032563..3beeea6 100644
--- a/builtin/clean.c
+++ b/builtin/clean.c
@@ -67,7 +67,7 @@ struct menu_item {
char hotkey;
const char *title;
int selected;
- int (*fn)();
+ int (*fn)(void);
};
enum menu_stuff_type {
--
2.2.0.84.ge9c7a8a
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...)
2015-01-05 13:29 [PATCH] clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...) Nguyễn Thái Ngọc Duy
@ 2015-01-06 19:17 ` Junio C Hamano
2015-01-07 12:35 ` Duy Nguyen
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2015-01-06 19:17 UTC (permalink / raw)
To: Nguyễn Thái Ngọc Duy; +Cc: git
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
> - int (*fn)();
> + int (*fn)(void);
This is an independent fix that has already been merged to 'maint',
but to any topic that forked before the merge happened I need to
apply the fix without committing it when I test it in isolation, and
I screwed up when I did that SQUASH??? in question by running a
casual "commit -a" (or perhaps "add -u"). My bad.
When your series (with the squash) is merged to any integration
branch, this hunk becomes redundant, so I'd remove it from the
SQUASH???
When I do a SQUASH???, I expect the original authors use it as a
hint in their rerolls, but because this series has seen no comments
so far (no interests???), I do not foresee or expect you to feel a
need for rerolling at this point. If you agree that the remainder
of the SQUASH??? (shown below) is sensible, I'll turn it into a
"fixup!" for cc44d4fe (untracked cache: load from UNTR index
extension, 2014-12-08) and requeue.
Thanks for catching my mistake before it gets too old.
dir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dir.c b/dir.c
index ef58547..95ff3f0 100644
--- a/dir.c
+++ b/dir.c
@@ -2459,7 +2459,7 @@ struct untracked_cache *read_untracked_extension(const void *data, unsigned long
const struct ondisk_untracked_cache *ouc;
struct untracked_cache *uc;
struct read_data rd;
- const unsigned char *next = data, *end = data + sz;
+ const unsigned char *next = data, *end = (const unsigned char *)data + sz;
struct strbuf sb = STRBUF_INIT;
int len;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...)
2015-01-06 19:17 ` Junio C Hamano
@ 2015-01-07 12:35 ` Duy Nguyen
0 siblings, 0 replies; 3+ messages in thread
From: Duy Nguyen @ 2015-01-07 12:35 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Git Mailing List
On Wed, Jan 7, 2015 at 2:17 AM, Junio C Hamano <gitster@pobox.com> wrote:
> When I do a SQUASH???, I expect the original authors use it as a
> hint in their rerolls, but because this series has seen no comments
> so far (no interests???), I do not foresee or expect you to feel a
> need for rerolling at this point. If you agree that the remainder
> of the SQUASH??? (shown below) is sensible, I'll turn it into a
> "fixup!" for cc44d4fe (untracked cache: load from UNTR index
> extension, 2014-12-08) and requeue.
No there will be a reroll. I was going through the comments and this
is the easiest piece. Glad to hear it's already in 'maint'. The
remaining change in your SQUASH??? will be squashed in the right
patch.
--
Duy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-07 12:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-05 13:29 [PATCH] clean: style fix for 9f93e46 (git-clean: use a git-add-interactive ...) Nguyễn Thái Ngọc Duy
2015-01-06 19:17 ` Junio C Hamano
2015-01-07 12:35 ` Duy Nguyen
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).