Re: bad error message - Not a git repository (or any of the parent directories): .git

2019-10-04 Thread Johannes Schindelin
Hi Alexander, On Thu, 3 Oct 2019, Alexander Mills wrote: > when running git commands outside of a git repo, we often see: > > fatal: Not a git repository (or any of the parent directories): .git > > such a lame message lol. An equally ornery response might point out that reportin

bad error message - Not a git repository (or any of the parent directories): .git

2019-10-03 Thread Alexander Mills
when running git commands outside of a git repo, we often see: fatal: Not a git repository (or any of the parent directories): .git such a lame message lol. can we get an absolute path on this message in future git versions, eg: Not a git repository (or any of the parent directories): /home

[PATCH v4 10/12] clean: avoid removing untracked files in a nested git repository

2019-09-17 Thread Elijah Newren
Users expect files in a nested git repository to be left alone unless sufficiently forced (with two -f's). Unfortunately, in certain circumstances, git would delete both tracked (and possibly dirty) files and untracked files within a nested repository. To explain how this happens, let'

[PATCH v3 10/12] clean: avoid removing untracked files in a nested git repository

2019-09-12 Thread Elijah Newren
Users expect files in a nested git repository to be left alone unless sufficiently forced (with two -f's). Unfortunately, in certain circumstances, git would delete both tracked (and possibly dirty) files and untracked files within a nested repository. To explain how this happens, let'

Re: [RFC PATCH v2 10/12] clean: avoid removing untracked files in a nested git repository

2019-09-05 Thread SZEDER Gábor
On Thu, Sep 05, 2019 at 08:47:33AM -0700, Elijah Newren wrote: > Users expect files in a nested git repository to be left alone unless > sufficiently forced (with two -f's). Unfortunately, in certain > circumstances, git would delete both tracked (and possibly dirty) files > an

[RFC PATCH v2 10/12] clean: avoid removing untracked files in a nested git repository

2019-09-05 Thread Elijah Newren
Users expect files in a nested git repository to be left alone unless sufficiently forced (with two -f's). Unfortunately, in certain circumstances, git would delete both tracked (and possibly dirty) files and untracked files within a nested repository. To explain how this happens, let'

Re: [PATCH] stripspace: allow -s/-c outside git repository

2018-12-19 Thread Martin Ågren
On Tue, 18 Dec 2018 at 13:00, Johannes Schindelin wrote: > > Makes me wonder if `setup_git_directory_gently()` should BUG if it > > receives NULL. That would require some reshuffling in setup.c, since > > `setup_git_directory()` calls out to it with NULL... Just thinking out > > loud. In any case,

Re: [PATCH] stripspace: allow -s/-c outside git repository

2018-12-18 Thread Johannes Schindelin
Hi Martin, On Tue, 18 Dec 2018, Martin Ågren wrote: > On Mon, 17 Dec 2018 at 22:56, Jonathan Nieder wrote: > > That makes experimenting with the stripspace command unnecessarily > > fussy. Fix it by discovering the git directory gently, as intended > > all along. > > > if (mode == STRI

Re: [PATCH] stripspace: allow -s/-c outside git repository

2018-12-18 Thread Johannes Schindelin
pace outside any repository, the result is > > $ git stripspace --strip-comments fatal: not a git repository (or any parent up to mount point /tmp) > > That makes experimenting with the stripspace command unnecessarily > fussy. Fix it by discovering the git directory gent

Re: [PATCH] stripspace: allow -s/-c outside git repository

2018-12-17 Thread Martin Ågren
p;& > + printf "foo" | git -C sub stripspace -c >actual && > + test_cmp expect actual > +' A small while-at-it conversion from subshell (with a funny pipe into it) to `-C sub`. The `rm -fr` invocation is not in the original, so shouldn

[PATCH] stripspace: allow -s/-c outside git repository

2018-12-17 Thread Jonathan Nieder
- mkdir sub && cd sub && git stripspace -c - ) >actual && + rm -fr sub && + mkdir sub && + printf "foo" | git -C sub stripspace -c >actual && + test_cmp expect actual +' + +test_expe

Re: Git Repository

2018-12-12 Thread brian m. carlson
f so can you send me the > link for future versions You haven't specified what platform you're looking for, but by the mention of CAB files, I'll assume it's Windows. The Git Project doesn't distribute anything other than source; we provide a Git repository and tarballs

Git Repository

2018-12-12 Thread John Lopez
Afternoon, I am inquiring to see if you have a repo for your software where we can point our 3rd party software to automatically download your software? It requires CAB's not sure if you do this or not, if so can you send me the link for future versions Thank you for your time and support. V/R J

Re: [ANNOUNCE] git-sizer: compute various size-related metrics for your Git repository

2018-03-21 Thread Johannes Schindelin
Hi Michael, On Fri, 16 Mar 2018, Michael Haggerty wrote: > What makes a Git repository unwieldy to work with and host? It turns > out that the respository's on-disk size in gigabytes is only part of > the story. From our experience at GitHub, repositories cause problems >

Re: [ANNOUNCE] git-sizer: compute various size-related metrics for your Git repository

2018-03-18 Thread Michael Haggerty
On Fri, Mar 16, 2018 at 10:29 PM, Jeff King wrote: > On Fri, Mar 16, 2018 at 09:01:42PM +0100, Ævar Arnfjörð Bjarmason wrote: >> One thing that can make repositories very pathological is if the ratio >> of trees to commits is too low. >> >> I was dealing with a repo the other day that had several

Re: [ANNOUNCE] git-sizer: compute various size-related metrics for your Git repository

2018-03-16 Thread Jeff King
On Fri, Mar 16, 2018 at 09:01:42PM +0100, Ævar Arnfjörð Bjarmason wrote: > Suggestion for a thing to add to it, I don't have the time on the Go > tuits: > > One thing that can make repositories very pathological is if the ratio > of trees to commits is too low. > > I was dealing with a repo the

Re: [ANNOUNCE] git-sizer: compute various size-related metrics for your Git repository

2018-03-16 Thread Ævar Arnfjörð Bjarmason
On Fri, Mar 16 2018, Michael Haggerty jotted: > What makes a Git repository unwieldy to work with and host? It turns > out that the respository's on-disk size in gigabytes is only part of > the story. From our experience at GitHub, repositories cause problems > because of poor i

[ANNOUNCE] git-sizer: compute various size-related metrics for your Git repository

2018-03-16 Thread Michael Haggerty
What makes a Git repository unwieldy to work with and host? It turns out that the respository's on-disk size in gigabytes is only part of the story. From our experience at GitHub, repositories cause problems because of poor internal layout at least as often as because of their overall size

Re: Git Repository Migration

2017-12-06 Thread Ævar Arnfjörð Bjarmason
On Wed, Dec 6, 2017 at 3:02 PM, Saurabh Dixit wrote: > Hi, > > I am new here. I just wondered if the Merge Requests (aka., Pull > Requests on GitHub) are also imported or cloned while > cloning/importing a Git repository, say from GitHub to BitBucket. > While I consider t

Git Repository Migration

2017-12-06 Thread Saurabh Dixit
Hi, I am new here. I just wondered if the Merge Requests (aka., Pull Requests on GitHub) are also imported or cloned while cloning/importing a Git repository, say from GitHub to BitBucket. While I consider that, it may not be possible because of the URL to a remote is already set and cannot be

RE: Creating remote git repository?

2016-12-14 Thread Randall S. Becker
On December 14, 2016 1:01 AM, essam Ganadily wrote: > given that git is an old and mature product i wounder why there is no > command line (git.exe in windows) way of creating a remote git repository? > > "git remote create repo myreponame" Why not run the command

Re: Creating remote git repository?

2016-12-13 Thread Konstantin Khomoutov
On Wed, 14 Dec 2016 09:00:42 +0300 essam Ganadily wrote: > given that git is an old and mature product i wounder why there is no > command line (git.exe in windows) way of creating a remote git > repository? > > "git remote create repo myreponame" > > frankly s

Creating remote git repository?

2016-12-13 Thread essam Ganadily
given that git is an old and mature product i wounder why there is no command line (git.exe in windows) way of creating a remote git repository? "git remote create repo myreponame" frankly speaking i know that our friends in the linux kernel project never felt the need to cre

[PATCH 02/16] hash-object: always try to set up the git repository

2016-09-12 Thread Jeff King
When "hash-object" is run without "-w", we don't need to be in a git repository at all; we can just hash the object and write its sha1 to stdout. However, if we _are_ in a git repository, we would want to know that so we can follow the normal rules for respecting config, .

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-30 Thread Junio C Hamano
Duy Nguyen writes: > But your suggestion is good and I can't think of any better. We could > introduce pathspec as ftiler after "--", but it does not look elegant, > and it overlaps with --include/--exclude. I was imagining that we would allow the magic pathspec syntax used in --include/--exclud

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-30 Thread Duy Nguyen
On Thu, Mar 24, 2016 at 11:50 PM, Junio C Hamano wrote: > So a better alternative may be to conditionally disable the "Paths > outside are not touched regardless of --include" logic, i.e. we > exclude paths outside by default just as before, but if there is at > least one explicit "--include" give

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-29 Thread Duy Nguyen
On Thu, Mar 24, 2016 at 11:50 PM, Junio C Hamano wrote: > Nguyễn Thái Ngọc Duy writes: > >>> On Wed, Mar 23, 2016 at 11:55 PM, Junio C Hamano wrote: The include/exclude mechanism does use wildmatch() but does not use the pathspec mechanism (it predates the pathspec machinery that was

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-24 Thread Junio C Hamano
Junio C Hamano writes: > So a better alternative may be to conditionally disable the "Paths > outside are not touched regardless of --include" logic, i.e. we > exclude paths outside by default just as before, but if there is at > least one explicit "--include" given, we skip this "return 0". > >

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-24 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: >> On Wed, Mar 23, 2016 at 11:55 PM, Junio C Hamano wrote: >>> The include/exclude mechanism does use wildmatch() but does not use >>> the pathspec mechanism (it predates the pathspec machinery that was >>> made reusable in places like this). We should be able to >

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-24 Thread Junio C Hamano
Duy Nguyen writes: >> The include/exclude mechanism does use wildmatch() but does not use >> the pathspec mechanism (it predates the pathspec machinery that was >> made reusable in places like this). We should be able to >> >> $ cd d/e/e/p/d/i/r >> $ git apply --include=:/ ../../../../..

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-24 Thread Nguyễn Thái Ngọc Duy
+Brian who also had issues with git-apply. On Thu, Mar 24, 2016 at 5:49 PM, Duy Nguyen wrote: > On Wed, Mar 23, 2016 at 11:55 PM, Junio C Hamano wrote: >> Junio C Hamano writes: >> >>> See >>> >>> http://thread.gmane.org/gmane.comp.version-control.git/288316/focus=288321 >>> >>> I agree it is

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-24 Thread Duy Nguyen
On Wed, Mar 23, 2016 at 11:55 PM, Junio C Hamano wrote: > Junio C Hamano writes: > >> See >> >> http://thread.gmane.org/gmane.comp.version-control.git/288316/focus=288321 >> >> I agree it is bad that it silently ignores the path outside the >> directory. When run with --verbose, we should say

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-23 Thread Mehul Jain
On Wed, Mar 23, 2016 at 8:51 PM, Junio C Hamano wrote: > I think we do have --no-index (which is why I am largely ignoring > the rest of your message as uninformed speculation for now). --no-index command line flag is there for git-apply but unfortunately not documented. Also *auto-completion* f

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-23 Thread Junio C Hamano
Junio C Hamano writes: > See > > http://thread.gmane.org/gmane.comp.version-control.git/288316/focus=288321 > > I agree it is bad that it silently ignores the path outside the > directory. When run with --verbose, we should say "Skipped X that > is outside the directory." or something like tha

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-23 Thread Junio C Hamano
Duy Nguyen writes: > 1) add --no-index to force git-apply ignore .git, --git (or some other > name) to apply patches as if running from topdir, add a config key to > choose default behavior I think we do have --no-index (which is why I am largely ignoring the rest of your message as uninformed s

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-23 Thread Duy Nguyen
On Wed, Mar 23, 2016 at 5:14 AM, Stefan Beller wrote: >> Hello everyone, >> As you observed, patch wasn't applied. Is it intended behaviour of >> git-apply? Usually to apply the patch I have to copy it to top directory >> and then use git-apply. >> >> I tried out git-am to apply the patch ("git fo

Re: git-apply does not work in a sub-directory of a Git repository

2016-03-22 Thread Stefan Beller
On Tue, Mar 22, 2016 at 5:10 AM, Mehul Jain wrote: > Hello everyone, > > Recently while using git-apply, I observed that if git-apply is used in a > sub-directory of a Git repository then it silently dies without doing > anything. > > Here's what I did > >

git-apply does not work in a sub-directory of a Git repository

2016-03-22 Thread Mehul Jain
Hello everyone, Recently while using git-apply, I observed that if git-apply is used in a sub-directory of a Git repository then it silently dies without doing anything. Here's what I did ~ $mkdir example ~ $cd example example $git init Initialized empty Git repository in /home/mj/example

[Q] Import SVN tags into a local Git repository?

2016-02-26 Thread Sedat Dilek
e maintainers. (Hans is the release-manager and Anton is the LLVM-Git-repo-maintainer). Please, read yourself. So, my question is... Can I import "llvm/tags/RELEASE_380/rc3/" SVN-tag into my local Git repository (see [6])? If YES, how can I do that? One side-effect is... ...that my

Re: Advice regarding inherited git repository

2016-01-07 Thread Danielle
> You probably should create a sandbox branch, for your own sanity. > Because git is distributed, each separate repository is implicitly a > branch. So if you did something like: > > 1. Commit all the changes on the main site to "master". Push the > result to some common remote. > > 2. C

Re: Advice regarding inherited git repository

2016-01-06 Thread Jeff King
On Tue, Jan 05, 2016 at 05:42:15PM +, Danielle wrote: > I inherited a web site and a git repository. the git repository is cloned > to the website and a sandbox website (two clones). No commits have been > done in more than 6 months. The main site has been updated a lot of time

Advice regarding inherited git repository

2016-01-05 Thread Danielle
Hi all, I inherited a web site and a git repository. the git repository is cloned to the website and a sandbox website (two clones). No commits have been done in more than 6 months. The main site has been updated a lot of times, the sandbox has lots of test and exploratory code. To bring

git repository modified after migration

2015-12-25 Thread Yang Yu
I migrated a 11G git repository converted from svn on a host with Debian 8.2, reiserfs, git 2.1.4 to a host with Ubuntu 12.04.5 LTS, xfs, git 2.6.4. After the migration, `git status` showing a good amount of files modified. I did the transfer with 1) `rsync -azP`, after noticing the modified

Re: GIT_WORK_TREE not set as expected when changing git repository from a script using a git alias

2015-12-04 Thread Duy Nguyen
On Fri, Dec 4, 2015 at 10:54 AM, Gabriel Ganne wrote: > Hi, > > Following commit d95138e695d99d32dcad528a2a7974f434c51e79 (since > v2.5.1) the following workflow I use seems broken : You are not the first one bitten [1] by that commit. A fix is being worked on [2]. Sorry for the trouble. [1] htt

GIT_WORK_TREE not set as expected when changing git repository from a script using a git alias

2015-12-04 Thread Gabriel Ganne
Hi, Following commit d95138e695d99d32dcad528a2a7974f434c51e79 (since v2.5.1) the following workflow I use seems broken : I wrote a script to list all git repositories that can be found from where I am, and then call for each repository a given command. Given the following tree, where "a" & "b" a

Re: Signed tags and git repository

2015-11-25 Thread Stephen & Linda Smith
On Thursday, November 26, 2015 04:56:00 AM Johannes Löthberg wrote: > You don't even need the Web of Trust though, you can just verify the > signature and then check that the key used to make the signature is the > correct one, Ok, but if I don't have a link to the Web or Trust, how do I know

Re: Signed tags and git repository

2015-11-25 Thread Johannes Löthberg
On 25/11, Stephen & Linda Smith wrote: I know that the linux and git repositories have signed tags, but I'm not able to verify them because my key isn't signed by anyone that leads back to one of the git or linux maintainers. Your key would only have to be signed for others to be able to veri

Signed tags and git repository

2015-11-25 Thread Stephen & Linda Smith
I've been following commits to the linux and git repostitories for some time. I used signed tags for projects that I'm working on. I know that the linux and git repositories have signed tags, but I'm not able to verify them because my key isn't signed by anyone that leads back to one of th

Re: Local git repository url

2015-11-19 Thread Jacob Keller
On Thu, Nov 19, 2015 at 3:06 AM, Konstantin Khomoutov wrote: > On Thu, 19 Nov 2015 10:48:51 + > "Vambara, JayaPrakash (Infosys)" > wrote: > >> I am trying to setup a local git repository and manage it from local >> Jenkins set-up. So, both Jenki

Re: Local git repository url

2015-11-19 Thread Konstantin Khomoutov
On Thu, 19 Nov 2015 10:48:51 + "Vambara, JayaPrakash (Infosys)" wrote: > I am trying to setup a local git repository and manage it from local > Jenkins set-up. So, both Jenkins and git are on my local desktop. > > However, I am trying to give the Repository URL but

Local git repository url

2015-11-19 Thread Vambara, JayaPrakash (Infosys)
Hi Team, I am trying to setup a local git repository and manage it from local Jenkins set-up. So, both Jenkins and git are on my local desktop. However, I am trying to give the Repository URL but with no luck. My repository is in D drive in location D:\Git-Try I tried to configure this

[ANN] SVNGit - Checkout Git repository by SVN Client

2015-01-08 Thread Yi, EungJun
Hello, all. I just have started to develop SVNGit, the servlet library in pure Java for SVN Client to checkout Git repository. The project is hosted at https://github.com/naver/svngit. Since the project is at very early stage, SVNGit unstably supports only a few SVN commands: checkout, update

Re: [PATCH] [kernel] completion: silence "fatal: Not a git repository" error

2014-10-14 Thread Junio C Hamano
John Szakmeister writes: > On Tue, Oct 14, 2014 at 2:29 PM, Junio C Hamano wrote: > ... >> Hmph, do you mean this one? >> >> $ cd /var/tmp ;# not a git repository >> $ git checkout >> >> -> >> >> $ git checkout fatal: N

Re: [PATCH] [kernel] completion: silence "fatal: Not a git repository" error

2014-10-14 Thread John Szakmeister
On Tue, Oct 14, 2014 at 2:29 PM, Junio C Hamano wrote: > John Szakmeister writes: > >> It is possible that a user is trying to run a git command and fail to realize >> that they are not in a git repository or working tree. When trying to >> complete >> an operati

Re: [PATCH] [kernel] completion: silence "fatal: Not a git repository" error

2014-10-14 Thread Junio C Hamano
John Szakmeister writes: > It is possible that a user is trying to run a git command and fail to realize > that they are not in a git repository or working tree. When trying to > complete > an operation, __git_refs would fall to a degenerate case and attempt to use > "git

Re: [PATCH] [kernel] completion: silence "fatal: Not a git repository" error

2014-10-14 Thread John Szakmeister
On Tue, Oct 14, 2014 at 6:49 AM, John Szakmeister wrote: > It is possible that a user is trying to run a git command and fail to realize > that they are not in a git repository or working tree. When trying to > complete > an operation, __git_refs would fall to a degenerate case an

[PATCH] [kernel] completion: silence "fatal: Not a git repository" error

2014-10-14 Thread John Szakmeister
It is possible that a user is trying to run a git command and fail to realize that they are not in a git repository or working tree. When trying to complete an operation, __git_refs would fall to a degenerate case and attempt to use "git for-each-ref", which would emit the error. Let&

Re: [ANNOUNCE] git-as-svn: subversion frontend server for git repository

2014-09-09 Thread Junio C Hamano
Marat Radchenko writes: >> > * You must not do 'inverted merges'. Old HEAD must be reachable from >> > new HEAD by first-parent traversal. >> >> I am not sure what you mean by this to properly assess how >> significant this limitation is. Care to draw a simple picture? > > SVN doesn't sup

Re: [ANNOUNCE] git-as-svn: subversion frontend server for git repository

2014-09-09 Thread Marat Radchenko
On Tue, Sep 09, 2014 at 09:49:03AM -0700, Junio C Hamano wrote: > Marat Radchenko writes: > > > Some time ago I complained [1] about troubles using Git > > on a project with high ratio of non-programmers. > > ... > > Then, a lost'n'forgotten git_svn_server [4] was found. > > ... > > Interesting.

Re: [ANNOUNCE] git-as-svn: subversion frontend server for git repository

2014-09-09 Thread Junio C Hamano
Marat Radchenko writes: > Some time ago I complained [1] about troubles using Git > on a project with high ratio of non-programmers. > ... > Then, a lost'n'forgotten git_svn_server [4] was found. > ... Interesting. > Current limitations: > ... > * You must not do 'inverted merges'. Old HEAD m

[ANNOUNCE] git-as-svn: subversion frontend server for git repository

2014-09-09 Thread Marat Radchenko
So we thought "we're programmers, after all". And that's when *git-as-svn* [5] was born. It is a daemon that sits on top of Git repository and talks svn:// protocol. Features supported:

Re: Error "fatal: not a git repository" after auto packing

2014-08-12 Thread Luke Campagnola
On Tue, Aug 12, 2014 at 12:11 PM, Dennis Kaarsemaker wrote: > On ma, 2014-08-11 at 18:56 -0400, Luke Campagnola wrote: >> >> raven:/home/luke/vispy (transform-cache)$ git checkout master >> Switched to branch 'master' >> Deleted 103 .pyc files >> Deleted 11 empty directories > > This looks like yo

Re: Error "fatal: not a git repository" after auto packing

2014-08-12 Thread Dennis Kaarsemaker
On ma, 2014-08-11 at 18:56 -0400, Luke Campagnola wrote: > > raven:/home/luke/vispy (transform-cache)$ git checkout master > Switched to branch 'master' > Deleted 103 .pyc files > Deleted 11 empty directories This looks like you have a local post-checkout hook that deletes empty directories. Fix

Re: Error "fatal: not a git repository" after auto packing

2014-08-12 Thread Duy Nguyen
erformance". > I now receive the error "Fatal: not a git repository" when running any > git commands, and a little investigation revealed that my .git/refs > directory has gone missing, presumably because the refs were all > combined into .git/packed-refs. To restore access

Error "fatal: not a git repository" after auto packing

2014-08-11 Thread Luke Campagnola
Greetings, I have been working happily with git for a couple of years, and ran into a mysterious issue today: after running a git-pull during which I saw the message "Auto packing the repository for optimum performance". I now receive the error "Fatal: not a git repository"

Re: [PATCH] Windows: Allow using UNC path for git repository

2014-05-20 Thread Junio C Hamano
Stepan Kasal writes: > Hello, > > On Tue, May 20, 2014 at 11:57:56AM -0700, Junio C Hamano wrote: >> It would be nice if somebody in the S-o-b chain can double-check >> that the "combined" version is sane. [...] > > "Combined" was an unfortunate word. There was a pair of successive > commits in

Re: [PATCH] Windows: Allow using UNC path for git repository

2014-05-20 Thread Stepan Kasal
Hello, On Tue, May 20, 2014 at 11:57:56AM -0700, Junio C Hamano wrote: > It would be nice if somebody in the S-o-b chain can double-check > that the "combined" version is sane. [...] "Combined" was an unfortunate word. There was a pair of successive commits in msysgit all the time. I just deci

Re: [PATCH] Windows: Allow using UNC path for git repository

2014-05-20 Thread Junio C Hamano
Stepan Kasal writes: > From: Cezary Zawadka > Date: Tue, 13 Jul 2010 16:17:43 +0200 > > [efl: moved MinGW-specific part to compat/] > [jes: fixed compilation on non-Windows] > > Eric Sunshine fixed mingw_offset_1st_component() to return consistently "foo" > for UNC "//machine/share/foo", cf > ht

[PATCH] Windows: Allow using UNC path for git repository

2014-05-19 Thread Stepan Kasal
From: Cezary Zawadka Date: Tue, 13 Jul 2010 16:17:43 +0200 [efl: moved MinGW-specific part to compat/] [jes: fixed compilation on non-Windows] Eric Sunshine fixed mingw_offset_1st_component() to return consistently "foo" for UNC "//machine/share/foo", cf http://groups.google.com/group/msysgit/br

Migration from Github hosted git repository to local server.

2014-03-15 Thread shyam218
x27;t helpful (https://github.com/shadowhand/git-encrypt) and the link for decryption mentioned in it is also not working) Regards, Shyam. -- View this message in context: http://git.661346.n2.nabble.com/Migration-from-Github-hosted-git-repository-to-local-server-tp7605713.html Sent from th

Re: git-draw - draws nearly the full content of a tiny git repository as a graph

2014-02-03 Thread Stefan Näwe
Am 29.01.2014 22:21, schrieb Flo: > I just want to present a small tool I wrote. I use it at work to have > a tool visualizing the Git basic concepts and data structures which > "are really really really simple" (Linus' words). That helps me > teaching my colleagues about Git and answering their qu

Re: git-draw - draws nearly the full content of a tiny git repository as a graph

2014-01-30 Thread John Szakmeister
On Wed, Jan 29, 2014 at 4:21 PM, Flo wrote: > I just want to present a small tool I wrote. I use it at work to have > a tool visualizing the Git basic concepts and data structures which > "are really really really simple" (Linus' words). That helps me > teaching my colleagues about Git and answeri

git-draw - draws nearly the full content of a tiny git repository as a graph

2014-01-29 Thread Flo
I just want to present a small tool I wrote. I use it at work to have a tool visualizing the Git basic concepts and data structures which "are really really really simple" (Linus' words). That helps me teaching my colleagues about Git and answering their questions when Git did not behave as they ex

Re: Problem setting up a shared git repository

2013-09-06 Thread Konstantin Khomoutov
On Thu, 5 Sep 2013 14:43:52 -0700 (PDT) Eyal Zinder wrote: [...] > The problem I faced later on was in parallel development, when > changes were made to a file in one repository, and at the same time > other changes made to the same file in another repository..  I > couldh't push changes from the

Re: Problem setting up a shared git repository

2013-09-06 Thread Johannes Sixt
Am 9/5/2013 23:43, schrieb Eyal Zinder: > I'm trying to setup a distributed development repository with a central > repository acting as the production copy. I'm doing so on a Windows > file share with no SSH / HTTP accessibility. Basically each developer > will have their own copy of the project

Problem setting up a shared git repository

2013-09-05 Thread Eyal Zinder
I hope it's not too inappropriate to send a random question your way, but I've exhausted all other means and am quite lost at the moment..  I'm trying to setup a distributed development repository with a central repository acting as the production copy.  I'm doing so on a Windows file share wit

[PATCHv3 06/16] bash prompt: return early from __git_ps1() when not in a git repository

2013-06-24 Thread SZEDER Gábor
... to gain one level of indentation for the bulk of the function. (The patch looks quite unreadable, you'd better check it with 'git diff -w'.) Signed-off-by: SZEDER Gábor --- contrib/completion/git-prompt.sh | 201 --- 1 file changed, 101 insertions(+), 100

[PATCH v2 05/13] bash prompt: return early from __git_ps1() when not in a git repository

2013-06-17 Thread SZEDER Gábor
From: SZEDER Gábor ... to gain one level of indentation for the bulk of the function. (The patch looks quite unreadable, you'd better check it with 'git diff -w'.) Signed-off-by: SZEDER Gábor --- contrib/completion/git-prompt.sh | 201 --- 1 file changed, 1

Re: Suggestion: add option in git-p4 to preserve user in Git repository

2013-06-17 Thread Deirdre Connolly
Olivier, did you upload your hacked version anywhere? I also need something like this. -- 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 http://vger.kernel.org/majordomo-info.html

Re: Is there a library for monitoring a git repository for any changes?

2013-06-07 Thread Magnus Bäck
On Thursday, June 06, 2013 at 23:16 EDT, Robert Martin wrote: > I want to work on a visualization program for git. I was hoping there > was a library that would allow me to monitor a git repo for changes. > Consider it like inotify, but for a git repository (in fact, I think &

Is there a library for monitoring a git repository for any changes?

2013-06-06 Thread Robert Martin
Hi git, I want to work on a visualization program for git. I was hoping there was a library that would allow me to monitor a git repo for changes. Consider it like inotify, but for a git repository (in fact, I think it would probably have inotify under the hood). This hypothetical library would

Re: git-p4: Importing a Git repository into Perforce without rebasing

2013-03-04 Thread Enrico Weigelt
Hi, perhaps you should give Perfoce's git-bridge a try. cu -- Mit freundlichen Grüßen / Kind regards Enrico Weigelt VNC - Virtual Network Consult GmbH Head Of Development Pariser Platz 4a, D-10117 Berlin Tel.: +49 (30) 3464615-20 Mobile: +49 (151) 27565287 Fax: +49 (30) 3464615-59 enri

Re: git-p4: Importing a Git repository into Perforce without rebasing

2013-02-19 Thread Thomas Berg
Hi, On Tue, Feb 19, 2013 at 3:40 AM, Russell Myers wrote: > I'm trying to take a Git repository which has never been in Perforce > and push it to Perforce and having difficulty. [...] > I know that I could create another Git repository that has some > commits in it cloned

git-p4: Importing a Git repository into Perforce without rebasing

2013-02-18 Thread Russell Myers
Hello, I'm trying to take a Git repository which has never been in Perforce and push it to Perforce and having difficulty. It would appear that git-p4 requires that a repository is cloned using "git p4 clone" in order to use it to push back to Perforce. That would not be the c

Re: git svn init throws Not a git repository (or any of the parent directories): .git

2013-02-13 Thread Konstantin Khomoutov
On Wed, 13 Feb 2013 14:01:36 +0100 "amccl...@gmail.com" wrote: > I have problem with git svn init: > When I execute > git svn init svn+ssh://usern...@example.com/path/repo > I see: > fatal: Not a git repository (or any of the parent directories): .git > Already at

Re: Pushing a git repository to a new server

2013-02-13 Thread Michael J Gruber
Jeff King venit, vidit, dixit 12.02.2013 21:42: > On Tue, Feb 12, 2013 at 12:28:53PM +0100, Michael J Gruber wrote: > >> I'm not sure providers like GitHub would fancy an interface which allows >> the programmatic creation of repos (giving a new meaning to "fork >> bomb"). But I bet you know bette

Re: Pushing a git repository to a new server

2013-02-12 Thread Jeff King
On Tue, Feb 12, 2013 at 12:28:53PM +0100, Michael J Gruber wrote: > I'm not sure providers like GitHub would fancy an interface which allows > the programmatic creation of repos (giving a new meaning to "fork > bomb"). But I bet you know better ;-) You can already do that: http://developer.git

Re: Pushing a git repository to a new server

2013-02-12 Thread Michael J Gruber
Jeff King venit, vidit, dixit 11.02.2013 17:27: > On Mon, Feb 11, 2013 at 02:57:51AM -0500, Ethan Reesor wrote: > >> On Mon, Feb 11, 2013 at 2:50 AM, Konstantin Khomoutov >> wrote: >>> What's wrong with >>> $ ssh myuser@remotehost 'mkdir /path/to/MyRepo.git; cd $_; git init --bare' >>> $ git push

Re: Pushing a git repository to a new server

2013-02-11 Thread Ethan Reesor
On Mon, Feb 11, 2013 at 7:45 AM, Konstantin Khomoutov wrote: [...] > OK, here's the sketch. > On the server, in the home directory of your "git" user, you create a > wrapper around git-receive-pack, like this: > > # mkdir ~git/git-shell-commands > # cat >~git/git-shell-commands/git-receive-new-rep

Re: Pushing a git repository to a new server

2013-02-11 Thread Ethan Reesor
On Mon, Feb 11, 2013 at 11:27 AM, Jeff King wrote: [...] > We talked about this a long time ago. One problem is that it's > inherently unportable, as the procedure to make a repo is potentially > different on every server (and certainly that is the case between a > regular user running stock git a

Re: Pushing a git repository to a new server

2013-02-11 Thread Jeff King
On Mon, Feb 11, 2013 at 02:57:51AM -0500, Ethan Reesor wrote: > On Mon, Feb 11, 2013 at 2:50 AM, Konstantin Khomoutov > wrote: > > What's wrong with > > $ ssh myuser@remotehost 'mkdir /path/to/MyRepo.git; cd $_; git init --bare' > > $ git push --all git@remotehost:MyOtherRepo.git > > ? > > Nothi

Re: Pushing a git repository to a new server

2013-02-11 Thread Konstantin Khomoutov
On Mon, 11 Feb 2013 02:57:51 -0500 Ethan Reesor wrote: [...] > I want to create a git-command that 1) creates a bare version of the > current repo, 2) and uploads it to the specified path on my server > (using tar, but that's not the point). Thanks, it's now a bit more clear. > My problem is th

Re: Pushing a git repository to a new server

2013-02-10 Thread Ethan Reesor
On Mon, Feb 11, 2013 at 2:50 AM, Konstantin Khomoutov wrote: > What's wrong with > $ ssh myuser@remotehost 'mkdir /path/to/MyRepo.git; cd $_; git init --bare' > $ git push --all git@remotehost:MyOtherRepo.git > ? Nothing, I just wanted to make myself a command to do that for me. >> The reason I

Re: Pushing a git repository to a new server

2013-02-10 Thread Konstantin Khomoutov
On Sun, Feb 10, 2013 at 04:00:56PM -0500, Ethan Reesor wrote: > I'm looking to make a command to push a git repo to a new server. The > way I just did it is as follows: > > localhost> git clone --bare /path/to/MyRepo /path/to/tmpdir/MyRepo.git > localhost> tar xz /path/to/tmpdir/MyRepo.git | ssh

Re: Suggestion: add option in git-p4 to preserve user in Git repository

2013-01-12 Thread Olivier Delalleau
ct >> > author information. >> > >> > Can you explain a bit more what you're looking for? >> >> Sorry I wasn't clear enough. When "git p4 submit" submits changes from >> Git to P4, it also edits the Git history and replaces the Git com

Re: Suggestion: add option in git-p4 to preserve user in Git repository

2013-01-12 Thread Pete Wyckoff
you're looking for? > > Sorry I wasn't clear enough. When "git p4 submit" submits changes from > Git to P4, it also edits the Git history and replaces the Git commits' > authors by the information from the Perforce account submitting the > changes. The advan

Re: Suggestion: add option in git-p4 to preserve user in Git repository

2013-01-12 Thread Olivier Delalleau
hanges from Git to P4, it also edits the Git history and replaces the Git commits' authors by the information from the Perforce account submitting the changes. The advantage is that both the P4 and Git repositories share the same author information, but in my case I would like to keep in the G

Re: Suggestion: add option in git-p4 to preserve user in Git repository

2013-01-12 Thread Pete Wyckoff
sh...@keba.be wrote on Thu, 10 Jan 2013 22:38 -0500: > I'm in a situation where I don't have P4 admin rights to use the > --preserve-user option of git-p4. However, I would like to keep user > information in the associated Git branch. > > Would it be possible to add an option for this? The --pres

Suggestion: add option in git-p4 to preserve user in Git repository

2013-01-10 Thread Olivier Delalleau
Hi, I'm in a situation where I don't have P4 admin rights to use the --preserve-user option of git-p4. However, I would like to keep user information in the associated Git branch. Would it be possible to add an option for this? Thanks, -=- Olivier -- To unsubscribe from this list: send the line

Re: Git repository and Maven project

2012-12-06 Thread Junio C Hamano
Aleks writes: > Can you help to clarify such question. > We have 2 different projects. > Name of first project say "server". > Second - "client". > Every project has own maven build structure. > Server produces the war archive for deployment. > The Client project produces the client jar for testi

  1   2   >