Re: git-pull-script on my linus tree fails..
From: Linus Torvalds (torvalds_at_osdl.org)
Date: 06/21/05
- Previous message: Robert Love: "Re: -mm -> 2.6.13 merge status"
- In reply to: Dave Airlie: "git-pull-script on my linus tree fails.."
- Next in thread: Jeff Garzik: "Re: git-pull-script on my linus tree fails.."
- Reply: Jeff Garzik: "Re: git-pull-script on my linus tree fails.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Jun 2005 08:39:48 -0700 (PDT) To: Dave Airlie <airlied@linux.ie>
On Tue, 21 Jun 2005, Dave Airlie wrote:
>
> fatal: Entry 'Documentation/DocBook/scsidrivers.tmpl' would be overwritten
> by merge. Cannot merge.
>
> but I haven't touched that tree so I shouldn't get merge issues..
>
> whatsup?
The most common issue is that your index is not in sync. For many
operations, that's just goign to slow things down a lot (ie a diff migth
take a long time instead of being instantaneous), but for a merge it's
considered an error.
Does "git-diff-files -p" show any output? That's a dead give-away.
Do "git-update-cache --refresh" to make sure your index file matches your
working directory.
I guess I can make the "git pull" script do that automatically (some other
scripts do, like "git commit", which also depends on having an up-to-date
index).
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Robert Love: "Re: -mm -> 2.6.13 merge status"
- In reply to: Dave Airlie: "git-pull-script on my linus tree fails.."
- Next in thread: Jeff Garzik: "Re: git-pull-script on my linus tree fails.."
- Reply: Jeff Garzik: "Re: git-pull-script on my linus tree fails.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|