Re: [git-users] Git Notes - Search Functionality

2013-02-27 Thread Konstantin Khomoutov
On Tue, 26 Feb 2013 17:22:23 -0800 (PST) krishna chaitanya kurnala kkc...@gmail.com wrote: I working on Git Notes. *I want to know if there is an easy way to obtain a list of all namespaces with notes objects in a specific git repository.* We can easily create, edit, merge git notes with

Re: [git-users] File modified after git clone

2013-02-27 Thread José Guilherme Vanz
I opened the modified file with a hexa viewer and the end of the lines are 0D0A ( CRLF ). In my project on the file .gitattributes is:*.java text *.scala text *.xml text *.properties text *.properties.default text *.sh text *.pig text *.py text *.md text PS: My file is a java source On 27

Re: [git-users] Interlocking

2013-02-27 Thread Konstantin Khomoutov
On Tue, 26 Feb 2013 22:25:58 -0500 wor...@alum.mit.edu (Dale R. Worley) wrote: Is Git properly interlocked for multi-user use? By that I mean, if two processes on one computer simultaneously execute Git commands on the same directory, does Git ensure that the repository is not damaged, and

Re: [git-users] Interlocking

2013-02-27 Thread Dale R. Worley
From: Konstantin Khomoutov flatw...@users.sourceforge.net Depends on what you call the same directory. Git commands also fall into different categories depending on what they do. I'm particularly interested in what happens if a process executes git gc --aggressive. Are there dangers if

Re: [git-users] File modified after git clone

2013-02-27 Thread Dale R. Worley
From: José Guilherme Vanz guilherme@gmail.com I opened the modified file with a hexa viewer and the end of the lines are 0D0A ( CRLF ). Now extract the *previous* version of the file, the one that Git thinks is so different, and look at its ends of lines. Dale -- You received this

[git-users] git: Command not found.

2013-02-27 Thread banacan99
I have a clone of a local repository on my computer, and when I try to issue any git command from Terminal I get this git: Command not found.. That seems to indicate that git is not in the directory containing the clone, but it is. In fact I have used GITX (the graphical interface for Mac)

Re: [git-users] git: Command not found.

2013-02-27 Thread Ryan Hodson
I have a clone of a local repository on my computer, and when I try to issue any git command from Terminal I get this git: Command not found.. That seems to indicate that git is not in the directory containing the clone, but it is. Actually, this is indicating that the git program can't be

Re: [git-users] Re: git subtree workflow

2013-02-27 Thread Gergely Polonkai
If you are familiar with symlinks under Linux, you can think of submodules as such. You add a reference to another git repository, check it out to a subdirectory, and you are done. The Git book has a chapter on it: http://git-scm.com/book/en/Git-Tools-Submodules On 27 February 2013 23:21, Ben

Re: [git-users] Re: git subtree workflow

2013-02-27 Thread Ben McCann
Hmm, I just assumed I should use subtree because pretty much every single thing I've ever read that references them says that subtree is preferable to submodules in nearly every way. Are submodules better in this case for some reason? On Wed, Feb 27, 2013 at 2:29 PM, Gergely Polonkai

Re: [git-users] Re: git subtree workflow

2013-02-27 Thread Ryan Hodson
Hi Ben, To expand on Gergely's reply a bit, it sounds like what you're looking for is `git submodule`, not `git subtree`. Submodules were designed to solve exactly the problem you're facing. Each submodule is essentially its own independent Git repository. If you have RepoA that relies on RepoB,

Re: [git-users] Re: git subtree workflow

2013-02-27 Thread Gergely Polonkai
Sorry, I wasn't totally clear. Forgive me as I'm in the middle of a bad flu :) As Ryan says, hosting both the monolithic stuff AND the modules can be dangerous, unless the modules are actually independent. The Symfony project, for example, hosts the whole framework in a large github repo, and

Re: [git-users] Re: git subtree workflow

2013-02-27 Thread Ben McCann
Hmm, that's interesting to hear. I'd read a couple articles that led me to believe I shouldn't consider submodules at all (e.g. these two on HN: Git Subtree merged into mainline githttp://news.ycombinator.com/item?id=3926683 , Why your company shouldn't use Git

Re: [git-users] Re: git subtree workflow

2013-02-27 Thread Ryan Hodson
Ben, That second article is a bit preachy. The `git submodule` command exists for a reason, and I would trust it over any of the 3rd-party alternatives. That said, it can be a bit finicky to work with at times. The key to remember is that the parent project always points to a *snapshot* (i.e., a

Re: [git-users] git: Command not found.

2013-02-27 Thread Evgeny Goldin
I'd try downloading and installing Mac OS Git client - http://git-scm.com/download/mac. Or run sudo find / -name git to see where it's located if you believe it is installed already. On my Mac which git tells me /usr/local/git/bin/git. On Wed, Feb 27, 2013 at 9:51 PM, John McKown

[git-users] Re: File modified after git clone

2013-02-27 Thread Blind
If people who push to your project use different OS, you may find the configurations core.autocrlf and core.safecrlf as interesting. (usually setting both to false works well) 27 февруари 2013, сряда, 04:31:01 UTC+2, José Guilherme Vanz написа: After clone a github repository in my PC, a file