Re: [git-users] Re: frustrations trying to control git through apache

2013-07-12 Thread Dale R. Worley
> From: tomgra...@gmail.com > Hm.. well I definitely did learn a lot from this, and of course you > are right it is a straightforward logical process. The main reason I > say I wouldn't have got there is down to my intrinsic belief that I > was to blame for the error (which I am used to being the

Re: [git-users] Git is consuming very much RAM

2013-07-15 Thread Dale R. Worley
> From: ironm4nc...@gmail.com > > I have got a problem with my bare repository with the size of 4 GB. > I experience some strange memory usage at cloning or fetching. > Git consumes about 30 GB RAM for these commands, but this is not the real > problem. > The real problem takes place at the cli

Re: [git-users] git users and permissions

2013-07-16 Thread Dale R. Worley
> From: Konstantin Khomoutov > > > now, can i create a user that can only pull? > > that would be great > > There's no way to do implement this using plain Git. If a user can only *read* the files in the Git repository, what can the user do with the repostiory using Git? Dale -- You received

Re: [git-users] searching commit msg in git log

2013-07-17 Thread Dale R. Worley
> From: python.beggine...@gmail.com > > I am trying to grep for git commit msg in git log...once I do git log..the > log is really huge?is there a way to get only the last 100 commits or is > there an efficient way to search commit msg in git log ?suggestions please? If your goal is to find a s

Re: [git-users] where is stored the staging area(index) on our machines

2013-07-18 Thread Dale R. Worley
> From: John McKown > > The staging area is also called the git index. This is probably better than > I am at explaining: > http://stackoverflow.com/questions/4084921/what-does-the-git-index-exactly-contain > > but basically the index is in the .git/index directory. "The index is a binary file

Re: [git-users] where is stored the staging area(index) on our machines

2013-07-18 Thread Dale R. Worley
> From: "Philip Oakley" > Sounds like the 'git gc' needs an option to deliberately prune specific > files and/or large objects for such a case. Maybe something to discuss > on the main Git list - no doubt some discussion as to what the command > format would be and why it whould be relevenant

Re: [git-users] Error when I use the Git Extensions to clone the repository

2013-07-24 Thread Dale R. Worley
> From: Ling > > When I use the Git Extensions to clone the repository I got below error > message: > > fatal: protocol error: bad line length character: Pass > > I tried search online but I can't find any relative error out there, so > could anyone know what cause this error and how to reso

[git-users] Re: [PATCH 1/2] git_mkstemps: correctly test return value of open()

2013-07-24 Thread Dale R. Worley
> The change itself looks good; care to write it up as a proper patch > with a proposed log message? I'm working on writing a proper patch, but I'm running into a problem. The patch itself is from this commit: $ git log -1 commit 07a25537909dd277426818a39d9bc4235e755383 Author: Dale

Re: [git-users] warning: failed to remove files in untracked files list

2013-07-26 Thread Dale R. Worley
> From: Gopichand Nakkala > > I am trying to clean untracked files and running into following error,can > anyone one help on how to overcome this? > > user@machine:/local/mnt/workspace/i$ git clean -f -d > warning: failed to remove halimpl/ncihal/DT_Include/DT_Nfc_types.h > warning: failed to r

Re: [git-users] Re: post-receive not able to execute git checkout

2013-07-29 Thread Dale R. Worley
The problem seems to be that the Git process on the remote end has a current working directory that it doesn't think is a Git reponsitory. Most likely this is because the Git remote link has directed the remote process to be in a directory that *isn't* a Git repository. Is there any way that you

Re: [git-users] Re: GUI repository browser?

2013-07-31 Thread Dale R. Worley
> Date: Fri, 17 May 2013 12:17:11 -0700 > From: Bryce Verdier > > I think that qgit should meet most of your needs. qgit is quite good. It isn't integrated into Emacs, but it does seem to do most of what I think I'll need to do. Dale -- You received this message because you are subscribed to

Re: [git-users] Re: GUI repository browser?

2013-08-02 Thread Dale R. Worley
> From: Thomas Ferris Nicolaisen > > > My general environment is Fedora Linux, using the X Windows system. I > > use vtwm as a window manager, so I don't have all the > > KDE/Gnome/whatever accessories. Much of my work is done inside Emacs, > > which has a wide array of tools for browsing th

Re: [git-users] Re: GUI repository browser?

2013-08-02 Thread Dale R. Worley
> From: Alex Lewis > > Does http://www.emacswiki.org/emacs/Git do what you want? No, nothing I found listed there seemed to be really helpful. > ...Apologies if you already know what I discuss below but I just thought > I'd put it here just in case it helps... > > So if I understand your scen

[git-users] Git's use of "less"

2013-08-16 Thread Dale R. Worley
After using "git diff", I believe that Git (1.7.7.6) uses "less" by default if there is no explicit pager specification (via $PAGER or Git's core.pager). 1) Am I correct? 2) I dislike defaulting to using a pager (partly because I dislike "less" in particular). 3) In any case, using a pager by de

[git-users] "git diff" errors

2013-08-16 Thread Dale R. Worley
Using Git (1.7.7.6), it appears that if I run "git diff" in a directory that is not part of a Git working copy, it produces this error message: $ git diff usage: git diff [--no-index] $ 1) This message doesn't tell the user what went wrong. (Indeed, invoking "git diff" with no arg

Re: [git-users] How do I remove a file from all branches in a git repository but leave it on the file system

2013-08-19 Thread Dale R. Worley
> From: joeriel...@gmail.com > > At some point I added a large file into a git repository. > It now exists on multiple branches, possibly with some > changes to it. I'd like to remove it from git, but leave its > current form (say the one on the master branch) on the > file system. You've f

Re: [git-users] Strange effect when tar-ing a cloned repository

2013-08-19 Thread Dale R. Worley
> From: peter boudewijns > > I've been trying to put my filesystem for a very small busybox-based distro > into a git-repository. And with succes. The only strange thing I can not > get my head around is the following : > > When making a compressed tarball from the files from the repository (a

[git-users] How to diagnose a failing test

2013-08-19 Thread Dale R. Worley
I've made a small change to the Git source and now test t/t1001-read-tree-m-2way.sh fails. In particular, this test fails: test_expect_success \ '4 - carry forward local addition.' \ 'bash -x 2>/tmp/2 -c "rm -f .git/index && read_tree_must_succeed $treeH && git checkout-index -u

Re: [git-users] Strange effect when tar-ing a cloned repository

2013-08-20 Thread Dale R. Worley
> From: peter boudewijns > The entire difference could be pinned down in just 1 directory, 'sbin'. > I do not know enough about the way Linux writes its files, and how it > determines the size of the files. But it seems to me the git-cloned files > contain empty space that occupies filesystem-

Re: [git-users] How to diagnose a failing test

2013-08-20 Thread Dale R. Worley
> From: "Philip Oakley" > > > How do I get detailed information on exactly what the failure is? > > I presume you've read \git\t\README which has a lot of stuff about > testing. Ugh, I must admit I didn't look for that... Dale -- You received this message because you are subscribed to the G

Re: [git-users] Strange effect when tar-ing a cloned repository

2013-08-21 Thread Dale R. Worley
> From: peter > > The files that I suspect are all compiled without stripping (debug symbols > present in the file). When I delete all these files the size of my tar-bal > from the original filesystem is nearly the same as the one made from the > git checkout. Here some things to check: Prod

Re: [git-users] How to diagnose a failing test

2013-08-21 Thread Dale R. Worley
To document the answer: > From: "Philip Oakley" > > > From: "Dale R. Worley" > > I've made a small change to the Git source and now test > > t/t1001-read-tree-m-2way.sh fails. In particular, this test fails: > > [...] > > How

Re: [git-users] Strange effect when tar-ing a cloned repository

2013-08-22 Thread Dale R. Worley
> From: peter > When I followed your last instructions I stumbled upon a few hardlinks in > the tar-file from my original source. And, as I understood Git treats these > hardlinks as separate files. And yes, in the tar-file from Git I found a > few exact copy's for several binaries. But now al

Re: [git-users] Git's use of "less"

2013-08-26 Thread Dale R. Worley
> From: Konstantin Khomoutov > > > 2) I dislike defaulting to using a pager > > I think you're a part of a minority in this case -- when you work with > Git in a shell, having to append " | mypetpager" onto the end of each > Git command producing a lengthy output quickly becomes tedious up to a

Re: [git-users] Read GIT directory manualy

2013-08-27 Thread Dale R. Worley
> From: Boris Trivic > > But I am wondering if I can read some file or files to get same list ? Of course, the information that git-show provides for you it extracts from some file or files, so in a sense, the answer is "yes". But I suspect you are asking "Is there a file which directly lists t

Re: [git-users] Git's use of "less"

2013-08-27 Thread Dale R. Worley
> From: Martin Mųller Skarbiniks Pedersen > > My complaint about "less" is that it does not exit when one types > > control-C. > > alias less='less -K' Thanks for pointing out "-K". It would probably be a bit cleaner to set the LESS environment variable to "-K", though: export LESS=-K Dale

Re: [git-users] git branch : strange !

2013-08-30 Thread Dale R. Worley
> From: djsuperfive > Why do I have a change to add on master whereas I made this change on my > branch "dev" ? I think I can explain this more clearly: You changed a file, but since you didn't add or commit it, none of the branches is affected. git-status is just telling you that the file in

Re: [git-users] starting out with git -- a problem with branching....

2013-09-03 Thread Dale R. Worley
> From: maya melnick > > (I haven't commited, it's just a test branch, I don't want to commit;-) > make sense? The way to think about it is that you've just changed a file in the working directory, it isn't *in* the branch or the repository. So when you tell Git to shuffle the working dir

Re: [git-users] Re: Dates not set

2013-09-17 Thread Dale R. Worley
> From: Thomas Ferris Nicolaisen > > > Hello -- I just did a clone of a (bare) repo and notices that all files > > have the same date/time, that is the time of the clone -- is this the way > > this is suppose to work? > > Yes, this is normal. Git doesn't store much meta-information about fi

[git-users] Using filter-branch without messing up the working copy

2013-10-04 Thread Dale R. Worley
I'm working on using "git filter-branch" to remove the history of a large file from my repository so as to reduce the size of the repository. Generally, this pattern seems to be a correct way to do this: 1. git filter-branch --index-filter 'git rm --cached --ignore-unmatch core.4563' HEAD 2. ed

Re: [git-users] need to undo "Reset Changes" action git extensions

2013-10-09 Thread Dale R. Worley
> From: Garrett Fritz > > Any way to 'undo' this reset changes? None of them were committed > obviously so scary time. Do you have backups? In the long run, you should use a tool that requires confirmation of such a drastic action. Dale -- You received this message because you are subscrib

[git-users] Problem using detached worktrees with commands implemented in scripts

2013-10-09 Thread Dale R. Worley
In Git, one can set up a repository with a "detached worktree", where the .git directory is not a subdirectory of the top directory of the work tree. In general, Git commands on a repository with a detached worktree can be executed by cd'ing into the directory containing the .git directory, and ex

Re: [git-users] need to undo "Reset Changes" action git extensions

2013-10-09 Thread Dale R. Worley
> > 1. Copy (resursively) the whole project directory to some other place, > >right now. This is not to inflict more harm than already done. > >Git won't delete anything irreversibly, but "drastic" operations > >like the one you supposedly did leave some objects as "unreachable" > >

Re: [git-users] Out of memory, malloc failied (tried to allocate 2306150400 bytes )

2013-10-10 Thread Dale R. Worley
> From: Konstantin Khomoutov > > pack.packsizelimit=2g > > pack.threads=1 > > pack.windowmemory=256m > 2. I'd say the pack.packSizeLimit should not affect the packing >behaviour -- at least that's what I gather from the manual page. The git-config manual page says: pack.packSizeLimi

Re: [git-users] Switching to another hash on branch

2013-10-16 Thread Dale R. Worley
> From: Roy Vardi > > How do I switch to a hash on a branch without creating\moving to a new > branch? > Say I'm currently at the HEAD of master, and its hash is aaa. > I want to stay on master, only switch to a previous hash... (say eee...) > I know I can use the HEAD~<#> or whatever, but I'd l

Re: [git-users] Switching to another hash on branch

2013-10-16 Thread Dale R. Worley
> From: PJ Weisberg > > On Oct 16, 2013 5:51 AM, "Roy Vardi" wrote: > > > Say I have a commit hash which is shared by two branches (I cherry-picked > it from one branch to the other). > > The hash is a SHA-1 hash of all the commit metadata: tree, timestamp, > *parent*, etc. > > A commit creat

Re: [git-users] Switching to another hash on branch

2013-10-16 Thread Dale R. Worley
> From: Roy Vardi > > So basically you're saying that the only way for me to run git branch and > see master is if I'm on the head of it? > I thought that all branches are conceived of a history of commits, and > checking out an older commit still means that I'm on the same branch... Yes ...

Re: [git-users] GIT with large projects

2013-10-21 Thread Dale R. Worley
> From: Blake McBride > Not sure what you mean about designed well, but in order to switch branches > without having to do a full rebuild would involve: > > [lots of stuff] I believe there are commercial systems that do this. They keep track of the derived files and what source files they dep

Re: [git-users] GitIgnore Not including folders again

2013-10-21 Thread Dale R. Worley
> From: Rik Svendsen Rose > The folder that i want included is: > 02 Microsoft SQL Server/xxx/MSSQL/Backup > > > I have tried adding into my .gitignore folder: > > 02 Microsoft SQL Server/**/ > !02 Microsoft SQL Server/**/Backup I don't think that Unix-style shell globs define "**" to mean a

Re: [git-users] invert gitignore

2013-10-22 Thread Dale R. Worley
> From: Philipp Kraus > > I use my .gitignore to define files which should not store in the history, > but can I use an invert filter? > So I would define files, which are only stored in the history. So if I > write to the (not)ignore file *.cpp all other file except *.cpp are ignored? > > So

Re: [git-users] Struggling to find a git workflow

2013-10-24 Thread Dale R. Worley
> From: Jamie Devine > I've seen another workflow mentioned that involves pushing the code to > GitHub and then just pulling it down on another PC. This in itself causes > problems for me. Nearly all of my projects are based in as CMS, this means > 90% of the code is never touched because it's

Re: [git-users] doesnt resolve to any object

2013-10-24 Thread Dale R. Worley
> 1. http://git-scm.com/book > 2. http://www.catb.org/esr/faqs/smart-questions.html#beprecise The classic is How to Report Bugs Effectively http://www.chiark.greenend.org.uk/~sgtatham/bugs.html including "Show me how to show myself." If you have to report a bug to a programmer

<    1   2   3   4