Re: Multiple checkouts of the same repository

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Tuesday, October 3, 2006 - 12:59 am

Daniel Barkalow <barkalow@iabervon.org> writes:


I think if you really wanted to, you could put it in the index
extension section along with the cache-tree data.  We would need
to implement a way to query and manipulate data in the index
extension and update git-commit (it should check HEAD matches
the commit you placed in the extension earlier, and after making
a commit and updating HEAD, you should update the index with the
new commit as well), git-checkout (after switching branches you
should update the index with the branch head you switched to; I
think you should sanity check before switching to see if the
current index and HEAD are reasonable as well but I am not
sure), git-reset --hard (set to the resetted HEAD), git-am,
git-applymbox, and git-merge (check before and set after when
successful).

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Multiple checkouts of the same repository, Matt McCutchen, (Sun Oct 1, 12:03 pm)
Re: Multiple checkouts of the same repository, Johannes Schindelin, (Sun Oct 1, 12:08 pm)
Re: Multiple checkouts of the same repository, Matt McCutchen, (Sun Oct 1, 12:14 pm)
Re: Multiple checkouts of the same repository, Johannes Schindelin, (Sun Oct 1, 12:17 pm)
Re: Multiple checkouts of the same repository, Matt McCutchen, (Sun Oct 1, 2:04 pm)
Re: Multiple checkouts of the same repository, Johannes Schindelin, (Mon Oct 2, 3:16 am)
Re: Multiple checkouts of the same repository, Daniel Barkalow, (Mon Oct 2, 7:52 pm)
Re: Multiple checkouts of the same repository, Junio C Hamano, (Tue Oct 3, 12:59 am)