Re: Hash algorithm analysis

2018-07-23 Thread Sitaram Chamarty
On 07/23/2018 06:10 PM, demerphq wrote: > On Sun, 22 Jul 2018 at 01:59, brian m. carlson > wrote: >> I will admit that I don't love making this decision by myself, because >> right now, whatever I pick, somebody is going to be unhappy. I want to >> state, unambiguously, that I'm trying to

Re: Use different ssh keys for different github repos (per-url sshCommand)

2018-07-19 Thread Sitaram Chamarty
On 07/19/2018 06:52 PM, Sitaram Chamarty wrote: > On Thu, Jul 19, 2018 at 03:24:54PM +0300, Basin Ilya wrote: >> Hi. >> >> I have two github accounts, one is for my organization and I want git to >> automatically choose the correct ssh `IdentityFile` based on

Re: Use different ssh keys for different github repos (per-url sshCommand)

2018-07-19 Thread Sitaram Chamarty
On Thu, Jul 19, 2018 at 03:24:54PM +0300, Basin Ilya wrote: > Hi. > > I have two github accounts, one is for my organization and I want git to > automatically choose the correct ssh `IdentityFile` based on the clone URL: > > g...@github.com:other/publicrepo.git >~/.ssh/id_rsa >

Re: why does builtin/init-db.c mention "/etc/core-git/templates/hooks/update"?

2018-05-28 Thread Sitaram Chamarty
On Mon, May 28, 2018 at 09:27:18AM -0400, Robert P. J. Day wrote: [snipped the rest because I really don't know] > more to the point, is that actually what the "update" hook does? i > just looked at the shipped sample, "update.sample", and it seems to be > related to tags: > > #!/bin/sh >

Re: worktrees vs. alternates

2018-05-16 Thread Sitaram Chamarty
On Wed, May 16, 2018 at 04:02:53PM -0400, Konstantin Ryabitsev wrote: > On 05/16/18 15:37, Jeff King wrote: > > Yes, that's pretty close to what we do at GitHub. Before doing any > > repacking in the mother repo, we actually do the equivalent of: > > > > git fetch --prune ../$id.git

Re: git repo vs project level authorization

2016-12-07 Thread Sitaram Chamarty
Ken, On Mon, Dec 05, 2016 at 11:04:44PM +0100, Fredrik Gustafsson wrote: > On Mon, Dec 05, 2016 at 03:33:51PM -0500, ken edward wrote: > > I am currently using svn with apache+mod_dav_svn to have a single > > repository with multiple projects. Each of the projects is controlled > > by an access

Re: [ANN] Pro Git Reedited 2nd Edition

2016-08-12 Thread Sitaram Chamarty
On 08/12/2016 08:07 PM, Jon Forrest wrote: > > > On 8/12/16 6:11 AM, Sitaram Chamarty wrote: > >> At present gitolite is -- AFAIK -- the only "pure server side", "no GUI" >> solution for access control, and has some interesting features that more &g

Re: [ANN] Pro Git Reedited 2nd Edition

2016-08-12 Thread Sitaram Chamarty
On 07/24/2016 09:37 AM, Jon Forrest wrote: > This an announcement of Pro Git Reedited 2nd Edition, which is > a substantial edit of Chacon and Straub's Pro Git 2nd Edition. > I spent a lot of time tightening it up and maybe clearing > up some explanations. > > The pdf is downloadable at: >

Re: Allow git alias to override existing Git commands

2015-11-11 Thread Sitaram Chamarty
On 11/11/15 14:58, Jeremy Morton wrote: > On 11/11/2015 04:48, Sitaram Chamarty wrote: >> A lot of things in Unix do follow that "give you rope to hang yourself" >> philosophy. I used to (and to *some* extent still do) think like that, >> but some years of suppo

Re: Allow git alias to override existing Git commands

2015-11-11 Thread Sitaram Chamarty
On 11/11/15 15:42, Jeremy Morton wrote: > On 11/11/2015 09:51, Sitaram Chamarty wrote: >> I can only repeat what I said before: it's not all black and white. >> >> Reducing the opportunity to make mistakes is useful for everyone, even >> expetrs. Especially stuff that y

Re: Allow git alias to override existing Git commands

2015-11-10 Thread Sitaram Chamarty
On 11/11/15 01:34, Jeremy Morton wrote: > On 10/11/2015 18:12, Stefan Beller wrote: >> On Tue, Nov 10, 2015 at 8:31 AM, Jeremy Morton wrote: >>> It's recently come to my attention that the "git alias" config functionality >>> ignores all aliases that would override existing

Re: Where to report security vulnerabilities in git?

2015-08-23 Thread Sitaram Chamarty
On 08/22/2015 04:25 AM, Guido Vranken wrote: List, I would like to report security vulnerabilities in git. Due to the sensitive nature of security-impacting bugs I would like to know if there's a dedicated e-mail address for this, so that the issues at play can be patched prior to a

Re: git name-rev not accepting abbreviated SHA with --stdin

2015-07-03 Thread Sitaram Chamarty
On 07/03/2015 11:06 PM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: On 06/25/2015 05:41 AM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: This *is* documented, but I'm curious why this distinction is made. I think it is from mere laziness

Re: git name-rev not accepting abbreviated SHA with --stdin

2015-06-24 Thread Sitaram Chamarty
On 06/25/2015 05:41 AM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: This *is* documented, but I'm curious why this distinction is made. I think it is from mere laziness, and also in a smaller degree coming from an expectation that --stdin would be fed by another

git name-rev not accepting abbreviated SHA with --stdin

2015-06-23 Thread Sitaram Chamarty
Hi all, git name-rev does not accept abbreviated SHAs if --stdin is used, though it works when the SHA is given directly on the command line: $ git version git version 2.4.3 $ git name-rev --tags d73f544 d73f544 tags/v3.6.3~29 $ git name-rev --tags --stdin d73f544

Re: On undoing a forced push

2015-06-09 Thread Sitaram Chamarty
On 06/09/2015 05:42 PM, Duy Nguyen wrote: From a thread on Hacker News. It seems that if a user does not have access to the remote's reflog and accidentally forces a push to a ref, how does he recover it? In order to force push again to revert it back, he would need to know the remote's old

Re: On undoing a forced push

2015-06-09 Thread Sitaram Chamarty
On 06/09/2015 07:55 PM, Jeff King wrote: On Tue, Jun 09, 2015 at 07:36:20PM +0530, Sitaram Chamarty wrote: This patch prints the latest SHA-1 before the forced push in full. He then can do git push remote +old-sha1:ref He does not even need to have the objects that old-sha1 refers

Re: GIT for Microsoft Access projects

2015-06-09 Thread Sitaram Chamarty
On 06/08/2015 09:44 PM, Konstantin Khomoutov wrote: On Mon, 8 Jun 2015 9:45:17 -0500 hack...@suddenlink.net wrote: [...] My question is, will GIT work with MS access forms, queries, tables, modules, etc? [...] Git works with files. So in principle it will work with *files* containing

Re: Git Server Repository Security?

2015-05-18 Thread Sitaram Chamarty
On 05/18/2015 04:28 PM, John McIntyre wrote: 2015-05-18 11:26 GMT+01:00 Heiko Voigt hvo...@hvoigt.net: If you want a simple tool using ssh-keys have a look at gitolite[1]. It quite simple to setup and with it you can specify all kinds of access rights. That's adding a separate level of

Re: resume downloads

2015-05-12 Thread Sitaram Chamarty
On 05/11/2015 03:49 AM, Junio C Hamano wrote: The current thinking is to model this after the repo tool. Prepare a reasonably up-to-date bundle file on the server side, shameless plug (but not commercial) For people using gitolite, the server side issues of generating a reasonably up-to-date

Re: How to send a warning message from git hosting server?

2015-04-15 Thread Sitaram Chamarty
On 04/12/2015 04:55 PM, Yi, EungJun wrote: On Wed, Apr 8, 2015 at 8:08 PM, Tony Finch d...@dotat.at wrote: Yi, EungJun semtlen...@gmail.com wrote: I want a way to response a remote message when a client send any kind of request. Is it possible? Yes, though you need a wrapper around git.

Re: An interesting opinion on DVCS/git

2015-03-05 Thread Sitaram Chamarty
On 03/04/2015 08:55 PM, Michael J Gruber wrote: Yes, that article has a few really weak lines of arguments, such as the tutorial count. Here's his definition of the main draw of a DVCS: No, the only thing that a DVCS gets you, by definition, is that everyone gets a copy of the full

Re: saving git push --signed certificate blobs

2014-12-31 Thread Sitaram Chamarty
On 12/30/2014 11:18 PM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: Just wanted to say there's a little script at [1] that saves the certificate blobs generated on the server side by git push --signed. Quoting from the source: # Collects the cert blob on push

saving git push --signed certificate blobs

2014-12-29 Thread Sitaram Chamarty
Hello, Just wanted to say there's a little script at [1] that saves the certificate blobs generated on the server side by git push --signed. Quoting from the source: # Collects the cert blob on push and saves it, then, if a certain number of # signed pushes have been seen, processes all the

GIT_PUSH_CERT* env vars and update/post-update hooks...

2014-12-23 Thread Sitaram Chamarty
Hi git core devs, Any chance I could persuade you to set the GIT_PUSH_CERT* environment variables for the update (and post-update) hooks also? Background: gitolite takes over the update hook [1] for authorisation and enforcement, and I want to avoid taking over the pre-receive hook also in order

Re: Where is the best place to report a security vulnerability in git?

2014-11-26 Thread Sitaram Chamarty
On 11/27/2014 06:50 AM, Jonathan Nieder wrote: Hi Hugh, Hugh Davenport wrote: Where is the best place to report a security vulnerability in git? Current practice is to contact Junio C Hamano gits...@pobox.com. Cc-ing Jeff King p...@peff.net isn't a bad idea while at it. We should

[slightly OT?] TOTP gateway for any service on any server

2014-09-20 Thread Sitaram Chamarty
Hi all, I've just created a general purpose TOTP gatekeeper that is designed to gate access to any service on any server/OS (as long as traffic can only go *through* the TOTP gatekeeper). The inspiration was Konstantin Ryabitsev's implementation of two-factor authentication for kernel.org --

Re: git feature-branch

2014-07-25 Thread Sitaram Chamarty
it somewhere on your $PATH. That should be sufficient for something like this (at the risk of going a bit off-topic for the list). you think a Makefile that installs to /usr/local/bin and /usr/local/share/man would fit, or are you on windows? Ouch. That hurt. On 25 July 2014 05:11, Sitaram

Re: git feature-branch

2014-07-24 Thread Sitaram Chamarty
On 07/25/2014 03:45 AM, Sheldon Els wrote: Hi A small tool I wrote that is useful for some workflows. I thought it'd be worth sharing. https://github.com/sheldon/git-feature-branch/ As far as I can tell it's just a shell script; does it really need installation instructions, and if so can

Re: optimising a push by fetching objects from nearby repos

2014-05-11 Thread Sitaram Chamarty
On 05/11/2014 11:34 PM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: But what I was looking for was validation from git.git folks of the idea of replicating what git clone -l does, for an *existing* repo. For example, I'm assuming that bringing in only the objects

optimising a push by fetching objects from nearby repos

2014-05-10 Thread Sitaram Chamarty
Hi, Is there a trick to optimising a push by telling the receiver to pick up missing objects from some other repo on its own server, to cut down even more on network traffic? So, hypothetically, git push user@host:repo1 --look-for-objects-in=repo2 I'm aware of the alternates mechanism,

Re: optimising a push by fetching objects from nearby repos

2014-05-10 Thread Sitaram Chamarty
On 05/11/2014 02:32 AM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: Is there a trick to optimising a push by telling the receiver to pick up missing objects from some other repo on its own server, to cut down even more on network traffic? So, hypothetically, git

Re: optimising a push by fetching objects from nearby repos

2014-05-10 Thread Sitaram Chamarty
On 05/11/2014 07:04 AM, Storm-Olsen, Marius wrote: On 5/10/2014 8:04 PM, Sitaram Chamarty wrote: On 05/11/2014 02:32 AM, Junio C Hamano wrote: That's an interesting thread and it's recent too. However, it's about clone (though the intro email mentions other commands also). I'm specifically

Re: optimising a push by fetching objects from nearby repos

2014-05-10 Thread Sitaram Chamarty
On 05/11/2014 08:41 AM, Storm-Olsen, Marius wrote: On 5/10/2014 9:10 PM, Sitaram Chamarty wrote: 1. Clone remote repo 2. Hack hack hack 3. Fork repo on server 4. Push changes to your own remote repo is equally efficient. Your suggestions are good for a manual setup where

Re: material for git training sessions/presentations

2014-05-07 Thread Sitaram Chamarty
On 05/05/2014 09:48 AM, Chris Packham wrote: Hi, I know there are a few people on this list that do git training in various forms. At $dayjob I've been asked to run a few training sessions in house. The initial audience is SW developers so they are fairly clued up on VCS concepts and most have

Re: Recording the current branch on each commit?

2014-04-28 Thread Sitaram Chamarty
On 04/28/2014 02:22 PM, Jeremy Morton wrote: On 28/04/2014 03:30, Sitaram Chamarty wrote: On 04/28/2014 01:03 AM, Johan Herland wrote: Yeah, sure. Author and Date (and Committer, for that matter) is just metadata, and the current branch name is simply just another kind of metadata. All of them

Re: Recording the current branch on each commit?

2014-04-27 Thread Sitaram Chamarty
On 04/28/2014 01:03 AM, Johan Herland wrote: On Sun, Apr 27, 2014 at 7:38 PM, Jeremy Morton ad...@game-point.net wrote: On 27/04/2014 10:09, Johan Herland wrote: On Sun, Apr 27, 2014 at 1:56 AM, Jeremy Mortonad...@game-point.net wrote: Currently, git records a checksum, author, commit

Re: Trust issues with hooks and config files

2014-03-16 Thread Sitaram Chamarty
On 03/09/2014 10:57 PM, Julian Brost wrote: On 07.03.2014 22:04, Jeff King wrote: Yes, this is a well-known issue. The only safe operation on a repository for which somebody else controls hooks and config is to fetch from it (upload-pack on the remote repository does not respect any dangerous

Re: [ANNOUNCE] Git v1.9-rc0

2014-01-30 Thread Sitaram Chamarty
On 01/28/2014 05:58 PM, Kacper Kornet wrote: On Mon, Jan 27, 2014 at 10:58:29AM -0800, Jonathan Nieder wrote: Hi, Kacper Kornet wrote: The change in release numbering also breaks down gitolite v2 setups. One of the gitolite commands, gl-compile-conf, expects the output of git --version

Re: Access different NAMESPACE of remote repo from client side

2013-11-16 Thread Sitaram Chamarty
On 11/16/2013 01:30 PM, Jiang Xin wrote: 2013/11/15 Sitaram Chamarty sitar...@gmail.com: On 11/15/2013 07:55 PM, Sitaram Chamarty wrote: [snip] I should add that the Gitolite model is: the user doesn't need to know about namespaces, because namespaces are just things that the server admin

Re: Access different NAMESPACE of remote repo from client side

2013-11-15 Thread Sitaram Chamarty
On 11/15/2013 01:49 PM, Jiang Xin wrote: GIT_NAMESPACE is designed to be used mainly on the server side, that the server can serve multiple git repositories while share one single repository storage using different GIT_NAMESPACE settings. Since we know that one remote repository hosts

Re: Access different NAMESPACE of remote repo from client side

2013-11-15 Thread Sitaram Chamarty
On 11/15/2013 07:55 PM, Sitaram Chamarty wrote: On 11/15/2013 01:49 PM, Jiang Xin wrote: GIT_NAMESPACE is designed to be used mainly on the server side, that the server can serve multiple git repositories while share one single repository storage using different GIT_NAMESPACE settings. Since

Re: can we prevent reflog deletion when branch is deleted?

2013-11-14 Thread Sitaram Chamarty
On 11/14/2013 01:37 PM, Jeff King wrote: On Thu, Nov 14, 2013 at 08:56:07AM +0100, Thomas Rast wrote: Whatever it was that happened to a hundred or more repos on the Jenkins project seems to be stirring up this debate in some circles. Making us so curious ... and then you just leave us

Re: can we prevent reflog deletion when branch is deleted?

2013-11-14 Thread Sitaram Chamarty
On 11/14/2013 04:39 PM, Jeff King wrote: On Thu, Nov 14, 2013 at 04:26:46PM +0530, Sitaram Chamarty wrote: I do not know about any particular debate in git circles, but I assume Sitaram is referring to this incident: https://groups.google.com/d/msg/jenkinsci-dev/-myjRIPcVwU/t4nkXONp8qgJ

Re: can we prevent reflog deletion when branch is deleted?

2013-11-14 Thread Sitaram Chamarty
: On Thu, Nov 14, 2013 at 04:26:46PM +0530, Sitaram Chamarty wrote: I do not know about any particular debate in git circles, but I assume Sitaram is referring to this incident: https://groups.google.com/d/msg/jenkinsci-dev/-myjRIPcVwU/t4nkXONp8qgJ in which a Jenkins dev force-pushed

Re: can we prevent reflog deletion when branch is deleted?

2013-11-14 Thread Sitaram Chamarty
On 11/14/2013 01:44 PM, Jeff King wrote: On Thu, Nov 14, 2013 at 05:48:50AM +0530, Sitaram Chamarty wrote: Is there *any* way we can preserve a reflog for a deleted branch, perhaps under logs/refs/deleted/timestamp/full/ref/name ? I had patches to do something like this here: http

Re: can we prevent reflog deletion when branch is deleted?

2013-11-14 Thread Sitaram Chamarty
I can't resist... On 11/14/2013 08:12 PM, Stephen Bash wrote: [snipped some stuff from Peff] [snipped 60 lines of python] In honor of your last name, here's what I would do if I needed to log ref updates (and wasn't using Gitolite): #!/bin/bash # -- use this as a post-receive hook while read

Re: can we prevent reflog deletion when branch is deleted?

2013-11-13 Thread Sitaram Chamarty
. sitaram On 06/01/2013 11:26 PM, Ramkumar Ramachandra wrote: Sitaram Chamarty wrote: I think I'd have to be playing with *several* branches simultaneously before I got to the point of forgetting the branch name! Yeah, I work on lots of small unrelated things: the patch-series I send

Re: Has there been any discussion about resumable clones recently ?

2013-09-20 Thread Sitaram Chamarty
On 09/20/2013 04:48 AM, shirish शिरीष wrote: Hi all, First of all a big thank you to all for making git. With it being fast and cheap (in relation to bandwidth and sizes for subsequent checkouts as well as CPU usage) . Please CC me if somebody does answer this mail as I'm not subscribed to

[PATCH] warn about http server document being too old

2013-09-20 Thread Sitaram Chamarty
- describe when it is still applicable - tell people where to go for most normal cases Signed-off-by: Sitaram Chamarty sita...@atc.tcs.com --- ref: http://thread.gmane.org/gmane.comp.version-control.git/159633. Yes it's very old but better late than never. Documentation/howto/setup-git

Re: Locking files / git

2013-09-18 Thread Sitaram Chamarty
On 09/18/2013 01:15 AM, Nicolas Adenis-Lamarre wrote: Ooops. It seems that each time somebody says these two words together, people hate him, and he is scorned by friends and family. However, - gitolite implement it (but gitolite is not git). No. It pretends to implement it, for people who

Re: Locking files / git

2013-09-18 Thread Sitaram Chamarty
On 09/18/2013 03:42 PM, Nicolas Adenis-Lamarre wrote: Thanks a lot for your answer. That's really good arguments that i was waiting for and that i have not get until now. My comprehension now : - it's not easy to maintain several versions of a binary file in parallel. So basically, it's

Re: [Proposal] Clonable scripts

2013-09-10 Thread Sitaram Chamarty
On 09/10/2013 02:18 AM, Niels Basjes wrote: As we all know the hooks ( in .git/hooks ) are not cloned along with the code of a project. Now this is a correct approach for the scripts that do stuff like emailing the people responsible for releases or submitting the commit to a CI system.

Re: ephemeral-branches instead of detached-head?

2013-08-14 Thread Sitaram Chamarty
On 08/14/2013 07:14 AM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: # all reflog entries that are not on a branch, tag, or remote d1 = !gitk --date-order $(git log -g --pretty=%H) --not --branches --tags --remotes # all dangling commits not on a branch

Re: ephemeral-branches instead of detached-head?

2013-08-14 Thread Sitaram Chamarty
On 08/14/2013 12:40 PM, Andres Perera wrote: On Wed, Aug 14, 2013 at 2:02 AM, Sitaram Chamarty sitar...@gmail.com wrote: On 08/14/2013 07:14 AM, Junio C Hamano wrote: Sitaram Chamarty sitar...@gmail.com writes: # all reflog entries that are not on a branch, tag, or remote d1 = !gitk

Re: ephemeral-branches instead of detached-head?

2013-08-13 Thread Sitaram Chamarty
On 08/13/2013 10:19 PM, Junio C Hamano wrote: Duy Nguyen pclo...@gmail.com writes: On Mon, Aug 12, 2013 at 3:37 PM, David Jeske dav...@gmail.com wrote: Is there currently any way to say hey, git, show me what commits are dangling that might be lost in the reflog? How do you define dangling

Re: can we prevent reflog deletion when branch is deleted?

2013-06-02 Thread Sitaram Chamarty
On Sat, Jun 1, 2013 at 11:26 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Sitaram Chamarty wrote: I think I'd have to be playing with *several* branches simultaneously before I got to the point of forgetting the branch name! Yeah, I work on lots of small unrelated things: the patch

Re: can we prevent reflog deletion when branch is deleted?

2013-06-01 Thread Sitaram Chamarty
On Sat, Jun 1, 2013 at 3:17 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Jeff King wrote: Why don't the branch names have significance? If I deleted branch foo yesterday evening, wouldn't I want to be able to say show me foo from 2pm yesterday or even show me all logs for foo, so that I

can we prevent reflog deletion when branch is deleted?

2013-05-31 Thread Sitaram Chamarty
Hi, Is there a way to prevent reflog deletion when the branch is deleted? The last entry could simply be a line where the second SHA is all 0's. -- Sitaram -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: propagating repo corruption across clone

2013-03-27 Thread Sitaram Chamarty
On Wed, Mar 27, 2013 at 8:33 PM, Junio C Hamano gits...@pobox.com wrote: Sitaram Chamarty sitar...@gmail.com writes: On Wed, Mar 27, 2013 at 9:17 AM, Junio C Hamano gits...@pobox.com wrote: To be paranoid, you may want to set transfer.fsckObjects to true, perhaps in your ~/.gitconfig. do

Re: Git prompt

2013-02-10 Thread Sitaram Chamarty
On Mon, Feb 11, 2013 at 4:24 AM, Junio C Hamano gits...@pobox.com wrote: Jeff King p...@peff.net writes: On Sun, Feb 10, 2013 at 01:25:38PM -0800, Jonathan Nieder wrote: Ethan Reesor wrote: I have a git user set up on my server. It's prompt is set to git-prompt and it's

Re: How to diff 2 file revisions with gitk

2013-02-07 Thread Sitaram Chamarty
On Wed, Feb 6, 2013 at 9:27 PM, R. Diez rdiezmail-buspir...@yahoo.de wrote: Hi there: I asked a few days ago whether I could easily diff 2 file revisions with the mouse in gitk, but I got no reply yet, see here: How to diff two file revisions with the mouse (with gitk)

Re: Feature request: Allow extracting revisions into directories

2013-02-05 Thread Sitaram Chamarty
On Mon, Feb 4, 2013 at 10:22 PM, Junio C Hamano gits...@pobox.com wrote: Tomas Carnecky tomas.carne...@gmail.com writes: That's what `git checkout` is for. And I would even argue that it's the better choice in your situation because it would delete files from /var/www/foo which you have

Re: Feature request: Allow extracting revisions into directories

2013-02-03 Thread Sitaram Chamarty
On 02/03/2013 07:48 PM, Robert Clausecker wrote: Hello! git currently has the archive command that allows to save an arbitrary revision into a tar or zip file. Sometimes it is useful to not save this revision into an archive but to directly put all files into an arbitrary directory.

Re: Feature request: Allow extracting revisions into directories

2013-02-03 Thread Sitaram Chamarty
On 02/03/2013 11:41 PM, Robert Clausecker wrote: Am Sonntag, den 03.02.2013, 21:55 +0530 schrieb Sitaram Chamarty: Could you help me understand why piping it to tar (actually 'tar -C /dest/dir -x') is not sufficient to achieve what you want? Piping the output of git archive into tar

Re: How to identify the users?

2013-01-31 Thread Sitaram Chamarty
On 01/31/2013 12:23 PM, Scott Yan wrote: Sitaram: It seems I must host my central repo on Gitolite first... There is no must but yes it is a decent solution and can, in principle, do the kind of checking you want if you set it up to do that. Please note that I don't use that mode and, as my

Re: Anybody know a website with up-to-date git documentation?

2013-01-30 Thread Sitaram Chamarty
On Wed, Jan 30, 2013 at 7:28 PM, Max Horn m...@quendi.de wrote: On 30.01.2013, at 12:54, John Keeping wrote: On Wed, Jan 30, 2013 at 12:46:47PM +0100, Max Horn wrote: does anybody know a website where one can view that latest git documentation? Here, latest means latest release (though being

Re: Anybody know a website with up-to-date git documentation?

2013-01-30 Thread Sitaram Chamarty
. On 30.01.2013, at 16:59, Sitaram Chamarty wrote: I'm curious... what's wrong with 'git checkout html' from the git repo and just browsing them using a web browser? Hm, do you mean make html, perhaps? At least I couldn't figure out what git checkout html should do, but out of curiosity

Re: missing objects -- prevention

2013-01-12 Thread Sitaram Chamarty
On Sat, Jan 12, 2013 at 6:43 PM, Jeff King p...@peff.net wrote: On Sat, Jan 12, 2013 at 06:39:52AM +0530, Sitaram Chamarty wrote: 1. The repo has a ref R pointing at commit X. 2. A user starts a push to another ref, Q, of commit Y that builds on X. Git advertises ref R, so

Re: missing objects -- prevention

2013-01-11 Thread Sitaram Chamarty
Thanks for the very detailed answer. On Fri, Jan 11, 2013 at 10:12 PM, Jeff King p...@peff.net wrote: On Fri, Jan 11, 2013 at 04:40:38PM +0530, Sitaram Chamarty wrote: I find a lot of info on how to recover from and/or repair a repo that has missing (or corrupted) objects. What I need

Re: Pushing symbolic references to remote repositories?

2012-12-22 Thread Sitaram Chamarty
On Sat, Dec 22, 2012 at 11:57 PM, Junio C Hamano gits...@pobox.com wrote: Andreas Schwab sch...@linux-m68k.org writes: This is not limited to HEAD, any ref may want to be set up as a symref at a remote repo. For example, I want to set up a symref master - trunk at a repository I have no

bug? 'git log -M100' is different from 'git log -M100%'

2012-12-17 Thread Sitaram Chamarty
-M100 # but this shows it like a rename git log -1 --stat --raw -M100% # adding a percent sign fixes it, now they're two separate # files. It seems to be required only when you ask for 100% -- Sitaram Chamarty -- To unsubscribe from this list: send the line unsubscribe git

[PATCH] clarify -M without % symbol in diff-options

2012-12-17 Thread Sitaram Chamarty
--- Documentation/diff-options.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index f4f7e25..39f2c50 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -309,7 +309,11 @@

Re: bug? 'git log -M100' is different from 'git log -M100%'

2012-12-17 Thread Sitaram Chamarty
On Tue, Dec 18, 2012 at 6:55 AM, Junio C Hamano gits...@pobox.com wrote: Sitaram Chamarty sitar...@gmail.com writes: When using -M with a number to act as a threshold for declaring a change as being a rename, I found a... quirk. Any 2-digit number after the M will work,... That is not 2

Re: Python extension commands in git - request for policy change

2012-12-11 Thread Sitaram Chamarty
On Tue, Dec 11, 2012 at 11:14 AM, Patrick Donnelly batr...@batbytes.com wrote: Sorry I'm late to this party... I'm an Nmap developer that is casually interested in git development. I've been lurking for a while and thought I'd post my thoughts on this thread. On Sun, Nov 25, 2012 at 6:25

Re: does a successful 'git gc' imply 'git fsck'

2012-12-03 Thread Sitaram Chamarty
On Sun, Dec 2, 2012 at 3:01 PM, Junio C Hamano gits...@pobox.com wrote: Sitaram Chamarty sitar...@gmail.com writes: If I could assume that a successful 'git gc' means an fsck is not needed, I'd save a lot of time. Hence my question. When it does repack -a, it at least scans the whole

Re: does a successful 'git gc' imply 'git fsck'

2012-12-02 Thread Sitaram Chamarty
On Sun, Dec 2, 2012 at 9:58 AM, Shawn Pearce spea...@spearce.org wrote: On Sat, Dec 1, 2012 at 6:31 PM, Sitaram Chamarty sitar...@gmail.com wrote: Background: I have a situation where I have to fix up a few hundred repos in terms of 'git gc' (the auto gc seems to have failed in many cases

Re: Python extension commands in git - request for policy change

2012-11-27 Thread Sitaram Chamarty
On Tue, Nov 27, 2012 at 1:24 PM, David Aguilar dav...@gmail.com wrote: *cough* git-cola *cough* it runs everywhere. Yes, windows too. It's written in python. It's been actively maintained since 2007. It's modern and has features that don't exist anywhere else. It even has tests. It even

Re: Python extension commands in git - request for policy change

2012-11-27 Thread Sitaram Chamarty
On Wed, Nov 28, 2012 at 12:05 AM, Eric S. Raymond e...@thyrsus.com wrote: Magnus Bäck ba...@google.com: While constant traffic probably overstates the issue, these are not theoretical problems. I recall at least three cases in the last year or so where Git has seen breakage with Solaris or Mac

Re: Python extension commands in git - request for policy change

2012-11-25 Thread Sitaram Chamarty
On Mon, Nov 26, 2012 at 4:17 AM, Eric S. Raymond e...@thyrsus.com wrote: Krzysztof Mazur krzys...@podlesie.net: What about embedded systems? git is also useful there. C and shell is everywhere, python is not. Supposing this is true (and I question it with regard to shell) if you tell me how

Re: Local clones aka forks disk size optimization

2012-11-18 Thread Sitaram Chamarty
On Fri, Nov 16, 2012 at 11:34 PM, Enrico Weigelt enrico.weig...@vnc.biz wrote: Provide one main clone which is bare, pulls automatically, and is there to stay (no pruning), so that all others can use that as a reliable alternates source. The problem here, IMHO, is the assumption, that the

Re: use cases for git namespaces

2012-11-15 Thread Sitaram Chamarty
On Thu, Nov 15, 2012 at 2:03 PM, Sitaram Chamarty sitar...@gmail.com wrote: Hi, It seems to me that whatever namespaces can do, can functionally be done using just a subdirectory of branches. The only real differences I can see are (a) a client sees less branch clutter, and (b) a fetch

Re: Local clones aka forks disk size optimization

2012-11-14 Thread Sitaram Chamarty
On Thu, Nov 15, 2012 at 7:04 AM, Andrew Ardill andrew.ard...@gmail.com wrote: On 15 November 2012 12:15, Javier Domingo javier...@gmail.com wrote: Hi Andrew, Doing this would require I got tracked which one comes from which. So it would imply some logic (and db) over it. With the hardlinking

Re: git-clone and unreliable links?

2012-11-09 Thread Sitaram Chamarty
On Wed, Nov 7, 2012 at 9:24 PM, Shawn Pearce spea...@spearce.org wrote: On Wed, Nov 7, 2012 at 7:35 AM, Josef Wolf j...@raven.inka.de wrote: When using git-clone over an unreliable link (say, UMTS) and the network goes down, git-clone deletes everything what was downloaded. When the network

Re: In search of a version control system

2012-10-21 Thread Sitaram Chamarty
On Sun, Oct 21, 2012 at 5:50 PM, Drew Northup n1xim.em...@gmail.com wrote: On Tue, Oct 9, 2012 at 1:58 AM, Matthieu Moy matthieu@grenoble-inp.fr wrote: David Aguilar dav...@gmail.com writes: I would advise against the file locking, though. You ain't gonna need it ;-) What do you

Re: feature request

2012-10-16 Thread Sitaram Chamarty
On Tue, Oct 16, 2012 at 10:57 PM, Angelo Borsotti angelo.borso...@gmail.com wrote: Hi Andrew, one nice thing is to warn a developer that wants to modify a source file, that there is somebody else changing it beforehand. It is nicer than discovering that at push time. Andrew: also see

Re: Why git shows staging area to users?

2012-10-13 Thread Sitaram Chamarty
On Sun, Oct 14, 2012 at 2:38 AM, Yi, EungJun semtlen...@gmail.com wrote: Hi, all. Why git shows staging area to users, compared with the other scms hide it? What benefits users get? I feel staging area is useful, but it is difficult to explain why when someone asks me about that. I wrote

Re: A basic question

2012-10-11 Thread Sitaram Chamarty
On Thu, Oct 11, 2012 at 11:08 PM, Jim Vahl j...@wmdb.com wrote: Drew, Thanks for responding to my email! Yes, I did read most of the Book, although I admit that I skimmed over some of the more technical parts. There is still a key part of how git is used in a commercial environment which I

Fwd: potential path traversal issue in v3 with wild repos

2012-10-09 Thread Sitaram Chamarty
oops; forgot to add the git list earlier. -- Forwarded message -- From: Sitaram Chamarty sitar...@gmail.com Date: Wed, Oct 10, 2012 at 5:15 AM Subject: potential path traversal issue in v3 with wild repos To: gitolite gitol...@googlegroups.com, gitolite-annou...@googlegroups.com

Re: git clone algorithm

2012-10-09 Thread Sitaram Chamarty
On Tue, Oct 9, 2012 at 10:53 PM, Bogdan Cristea crist...@gmail.com wrote: I have already posted this message on git-us...@googlegroups.com but I have been advised to rather use this list. I know that there is a related thread (http://thread.gmane.org/gmane.comp.version-control.git/207257),

Re: Ignore on commit

2012-10-04 Thread Sitaram Chamarty
On Fri, Oct 5, 2012 at 7:05 AM, demerphq demer...@gmail.com wrote: On 5 October 2012 03:00, Andrew Ardill andrew.ard...@gmail.com wrote: On 5 October 2012 07:20, Marco Craveiro marco.crave...@gmail.com wrote: ... Similar but not quite; the idea is that you know that there is some code (I'm

Re: How to update a cloned git repository

2012-09-11 Thread Sitaram Chamarty
On Tue, Sep 11, 2012 at 4:47 PM, Joachim Schmitz j...@schmitz-digital.de wrote: Like this? git pull --rebase HEAD~42 So far I create patches, wiped out the entire repository, cloned, forked and applied the changes, pretty painful. I think a 'git pull --rebase' should usually work even for

Re: Clone to an SSH destination

2012-09-03 Thread Sitaram Chamarty
On Mon, Sep 3, 2012 at 6:45 PM, Mark Hills mark.hi...@framestore.com wrote: On Mon, 3 Sep 2012, Sitaram Chamarty wrote: On Mon, Sep 3, 2012 at 5:17 PM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Mon, 3 Sep 2012 11:21:43 +0100 (BST) Mark Hills mark.hi...@framestore.com

Re: Clone to an SSH destination

2012-09-03 Thread Sitaram Chamarty
On Mon, Sep 3, 2012 at 7:38 PM, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Mon, 3 Sep 2012 14:07:48 +0100 (BST) Mark Hills mark.hi...@framestore.com wrote: [...] But I'm actually more curious about why you need this in the first place, there's a bunch of devs where I

Re: receive.denyNonNonFastForwards not denying force update

2012-08-20 Thread Sitaram Chamarty
On Tue, Aug 21, 2012 at 6:52 AM, Junio C Hamano gits...@pobox.com wrote: Sitaram Chamarty sitar...@gmail.com writes: On Mon, Aug 20, 2012 at 10:35 PM, Junio C Hamano gits...@pobox.com wrote: John Arthorne arthorne.ecli...@gmail.com writes: For all the details see this bugzilla, particularly

Re: need help with syncing two bare repos

2012-08-03 Thread Sitaram Chamarty
On Fri, Aug 3, 2012 at 11:59 PM, Eugene Sajine eugu...@gmail.com wrote: Hi, Could somebody please advise about how to address the following: I have a bare repo (bareA) on one server in network1 and i have a mirror of it on another server (bareB) in network2 BareB is updated periodically -

Re: GIT smart http vs GIT over ssh

2012-07-31 Thread Sitaram Chamarty
On Tue, Jul 31, 2012 at 2:50 PM, Michael J Gruber g...@drmicha.warpmail.net wrote: vishwajeet singh venit, vidit, dixit 31.07.2012 11:04: On Tue, Jul 31, 2012 at 2:17 PM, Michael J Gruber g...@drmicha.warpmail.net wrote: vishwajeet singh venit, vidit, dixit 31.07.2012 05:19: On Tue, Jul 31,

Re: Enhancements to git-protocoll

2012-07-30 Thread Sitaram Chamarty
On Mon, Jul 30, 2012 at 11:58 AM, Junio C Hamano gits...@pobox.com wrote: Heh. While I do not particularly consider auto-creation-upon-push a useful thing to begin with (after all, once you created a repository, you would want ways to manage it, setting up ACL for it [side point] these

Re: Enhancements to git-protocoll

2012-07-30 Thread Sitaram Chamarty
On Mon, Jul 30, 2012 at 11:58 AM, Junio C Hamano gits...@pobox.com wrote: Shawn Pearce spea...@spearce.org writes: The way to expose the extra information parsed by Git to the server side could be made into calling out to hooks, and at that point, gitolite would not even have to know about

Re: Enhancements to git-protocoll

2012-07-29 Thread Sitaram Chamarty
On Sun, Jul 29, 2012 at 3:11 AM, Fredrik Gustafsson iv...@iveqy.com wrote: Hi, sometimes git communicates with something that's not git on the other side (gitolite and github for example). Sometimes the server wants to communicate directly to the git user. git isn't really designed for

  1   2   >