Re: [git-users] Re: gitg web interface

2011-05-27 Thread Artiom Di
Hello Bill,

Your user may want gerrit ;)

On Fri, 27 May 2011 10:22:46 -0700
Bill Shoenhair bshoenh...@gmail.com wrote:
BSThanks,
BS
BSI use cGit and really have not found a reason to replace it yet.
BSHowever I now have a user who wants to do branching, merging
BSand rebase functions through a web interface.
BS
BSI really don't like the idea but I do need to see if it's feasible.
BS
BS
BS
BSOn Fri, May 27, 2011 at 10:14 AM, Thomas Ferris Nicolaisen
BStfn...@gmail.com
BS wrote:
BS
BS Hum, well I didn't even notice this one last time I was looking
BS through the alternatives.
BS
BS I was looking for some tool that was able to show side-by-side
BS diffs. In the end we ended up installing Gerrit.
BS
BS We just use normal Gitweb as repo web frontend. I haven't yet
BS found any good reasons to replace it (other than it's ugly).
BS
BS --
BS You received this message because you are subscribed to the Google
BS Groups Git for human beings group.
BS To post to this group, send email to git-users@googlegroups.com.
BS To unsubscribe from this group, send email to
BS git-users+unsubscr...@googlegroups.com.
BS For more options, visit this group at
BS http://groups.google.com/group/git-users?hl=en.
BS
BS

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] huge commit

2011-04-05 Thread Artiom Di
Hello group,

I have such commit:

$ git log -n1 --pretty=format:commit -m --first-parent --no-prefix --shortstat 
1e68e16e7f06868210d63bb1623b976dcedd65e4
commit
 2 files changed, 1290965 insertions(+), 5 deletions(-)

This operation consumes aprox 1.5Gb RAM.
The question is: how to see if some given commit is really huge and not to load 
whole commit in RAM?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] huge commit

2011-04-05 Thread Artiom Di
Hello Konstantin,

I've found more git way :)

The problem commit's SHA1 is 1e68e16e7f06868210d63bb1623b976dcedd65e4

# examine commit
$ git cat-file commit 1e68e16e7f06868210d63bb1623b976dcedd65e4
tree 06daddf0a2f63e3de1c48c2ac388811835c806ef
parent fcd7d0eaa5129f346af74c4d7e6de53c4c6e3257

# examine commit's parent
$ git cat-file commit fcd7d0eaa5129f346af74c4d7e6de53c4c6e3257
tree 72b391aca2ed1d4d625d744dc75e637cf62a5472
parent 89c46a5a69eab1360ffb30fb64ec78555650b1ab

# now we have two trees here, let's diff what changed between them
$ git diff-tree 06daddf0a2f63e3de1c48c2ac388811835c806ef 
72b391aca2ed1d4d625d744dc75e637cf62a5472
:04 04 dbce387d01508f8b27617a72002db23c20d40d2e 
b83741839605467f9edbfb6ebc6271f1e90d37af M  db
:04 04 4fe283100c11c38d84e89f15a30dc9315ec78bc2 
1c5ab8a32cebe626e2d33be0c969a73858c0e8ef M  php

# let's see what's inside
$ git ls-tree dbce387d01508f8b27617a72002db23c20d40d2e
100644 blob 2c40b702a1f56e4814977508a2be9f76b4f236fa2011-03-28.sql
100644 blob e555488db64750a173b9263ba015ec5ebd0207222011-03-29.sql

# gimme filesizes
$ git cat-file -s 2c40b702a1f56e4814977508a2be9f76b4f236fa
1413913689
$ git cat-file -s e555488db64750a173b9263ba015ec5ebd020722
1403540620

here is size of those BIG files, and this manipulations doesn't load files in 
RAM.


On Tue, 5 Apr 2011 14:41:18 +0400
Konstantin Khomoutov flatw...@users.sourceforge.net wrote:
KK On Tue, 5 Apr 2011 11:23:38 +0300
KK Artiom Di kro...@gmail.com wrote:
KK 
KK  I have such commit:
KK  
KK  $ git log -n1 --pretty=format:commit -m --first-parent --no-prefix
KK  --shortstat 1e68e16e7f06868210d63bb1623b976dcedd65e4 commit
KK   2 files changed, 1290965 insertions(+), 5 deletions(-)
KK  
KK  This operation consumes aprox 1.5Gb RAM.
KK  The question is: how to see if some given commit is really huge
KK  and not to load whole commit in RAM?
KK Each commit references a tree object which, in turn, references a
KK set of blobs and/or other tree objects referencing their own sets
KK of blobs etc. This hierarchy of trees represents the state of your
KK index from which a commit has been made.  IOW, the size of a
KK commit is not recorded anywhere explicitly--even in tree objects,
KK and you have to inspect the whole hierarchy of trees referenced by
KK a commit to calculate its size. This is not really hard as Git has
KK low-level commands to read tree objects and blobs.  On the other
KK hand, I can't easily find any way to know the size of a blob other
KK than using `git cat-file blob $SHA1 | wc -c`.
KK Note also that the size of a commit is a vague term: I might have
KK a one gigabyte file tracked in my repository; then I change a
KK single byte in it and make a commit--what should really count as
KK the size of this commit?  The change itself is only one byte, the
KK blob representing this change is one gigabyte.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Command not found

2010-11-04 Thread Artiom Di
Hello Gareth,

apt-get install git-core

On Thu, 4 Nov 2010 14:10:55 -0700 (PDT)
Gareth gareth.b.fos...@gmail.com wrote:
GHi everyone,
G
GI've installed git using 'apt-get install git' - and ran fine. However
G- it doesnt seem to work. If I do a whereis git it returns nothing.
GAnd if I do a dpkg -s git I get this:
G
GPackage: git
GStatus: install ok installed
GPriority: optional
GSection: utils
GInstalled-Size: 60
GMaintainer: Ian Beckwith i...@erislabs.net
GArchitecture: all
GSource: gnuit
GVersion: 4.9.4-1
GDepends: gnuit
GDescription: transitional dummy package which can be safely removed
G This is a transitional dummy package to pull in the renamed
G gnuit package. It can be safely removed.
G
GThat doesnt sound good does it - ? What have I done / Or should I do
Gto fix it?
G
GCheers,
GGareth
G

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.