Re: Git branch deletion not based on HEAD branch anymore

2017-04-07 Thread Javier Domingo Cansino
> There's "branch --merged" already. And in recent versions of git, the > scriptable for-each-ref knows it, too. So you could do something like: > > git for-each-ref --format='delete %(refname)' --merged HEAD refs/heads/ | > grep -v 'any-branches-you-want-saved' | > git update-ref --stdin Ye

Git branch deletion not based on HEAD branch anymore

2017-04-06 Thread Javier Domingo Cansino
uld it be possible to have an option such as `--merged` to support the old usecase? -- Javier Domingo Cansino

Re: [GSoC] A late proposal: a modern send-email

2016-03-27 Thread Javier Domingo Cansino
that you have to create a password for each email client on it's own. If you own a gmail account, go to https://security.google.com/settings/security/apppasswords to create a password for the email client. -- Javier Domingo Cansino -- To unsubscribe from this list: send the line &qu

Re: [PATCH] diff: handle "-" as abbreviation of '@{-1}'

2016-03-11 Thread Javier Domingo Cansino
for (i = 0; i < rev.pending.nr; i++) { > struct object_array_entry *entry = &rev.pending.objects[i]; > struct object *obj = entry->item; > -- > 2.7.0 > > -- > To unsubscribe from this list: send the line "unsubscr

Re: Fwd: Add git ignore as builtin

2014-11-23 Thread Javier Domingo Cansino
You could also make it "smart" by allowing to use it as the Cisco managing commands, or the ip tool (ip a == ip address, ip a a == ip addr add, etc.), resulting in the following: git ignore e .... git ignore i -- Javier Domingo Cansino -- To unsubscribe from this list: send the

Re: Doing a git add '' will add more files then expected

2014-11-23 Thread Javier Domingo Cansino
d, and allowing such behaviour would make things harder. -- Javier Domingo Cansino -- 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: Branching workflow

2014-09-22 Thread Javier Domingo Cansino
rebase. Cheers, -- Javier Domingo Cansino -- 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: Idea, Transparent commits, easier "code style" commits

2014-07-06 Thread Javier Domingo Cansino
> They just have to look into the commit message and look for > "#codestylefix" or whatever other string. In many projects I have seen, they have a format for commits, such as "docs: Add support for XXX", "formatting: Space before parethesis and after comas", "tests: " and so on. Maybe, being

Re: Can we stage all files using "git add" command, except some specific files ?

2014-05-26 Thread Javier Domingo Cansino
If you don't want an specific file, but you neither the .gitignore, just use .git/info/exclude file for project specific or $HOME/.config/git/ignore for user level. Anyway, this is all in man gitignore [1] Git ignore man page: http://git-scm.com/docs/gitignore Javier Domingo Cansino 2014-

Re: What is missing from Git v2.0

2014-04-24 Thread Javier Domingo Cansino
that running git, just git, tell the user the possibilities he has. I don't know of any power user that uses git to remember the commands. At the moment, git[1] just tells many of the commands available, without any classification, maybe classifying them as &quo

Re: Our official home page and logo for the Git project

2014-04-13 Thread Javier Domingo Cansino
I think it is a suitable logo. It might not be the one I would think of, but I see with good eyes using it as one of the project logos. Javier Domingo Cansino -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More

Re: Our official home page and logo for the Git project

2014-04-11 Thread Javier Domingo Cansino
with. BTW, I don't know if the old logo I am accustomed to has ever been used by the project officially, but I always thought it was that one. Javier Domingo Cansino [1] Git logo: http://git-osx-installer.googlecode.com/files/GitLogo.jpg -- To unsubscribe from this list: send the

Re: [ANNOUNCE] Git v1.9-rc0

2014-01-22 Thread Javier Domingo Cansino
Will there be any change on how tarballs are distributed, taking into account that Google will be shutting down Google Code Downloads section[1][2]? Cheers Javier Domingo Cansino [1] Google Code download service change announcement: http://google-opensource.blogspot.se/2013/05/a-change-to

Re: Branching workflow

2013-12-03 Thread Javier Domingo
y are really driving me crazy). Thanks a lot for the idea. I will mantain clean feature branches from now on, Javier Domingo Cansino -- 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://

Re: Branching workflow

2013-12-03 Thread Javier Domingo
eckout master git revert feature/bad would revert z and h in master history, in one single commit, and making available merging feature/bad when it's ready, with all conflicting if needed. Ideas welcome =) Javier Domingo Cansino 2013/12/3 John Keeping : > On Tue, Dec 03, 2013 at 07:06:2

Branching workflow

2013-12-03 Thread Javier Domingo
ches, and rebasing master into all of them, but it seems pretty strange to me. If anyone can give any advice, I would fully appreciate! Javier Domingo Cansino -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majo

Splitting files merge with branches

2013-11-05 Thread Javier Domingo
le of a split, where would those lines go? But as you have resolved quite variety of problems, you might now a way. Just wanted to collaborate with my idea =) Cheers, Javier Domingo Cansino -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to

Re: [RFC] Disabling status hints in COMMIT_EDITMSG

2013-09-11 Thread Javier Domingo
That extra info doesn't occupy too much, and helps distinguish between sections. They do also remember you the commands to use (thought after some time using git, you may not need it). Cheers, Javier -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to maj

Re: [RFC] Disabling status hints in COMMIT_EDITMSG

2013-09-11 Thread Javier Domingo
't be empty, I can abort a commit and correct the staging area. Cheers, Javier Domingo -- 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: Making a (quick) commit to another branch

2013-04-27 Thread Javier Domingo
the fix -- got to the feature branch -- unstash As when you merge with master, git will carry on with the changes. I don't see the need to cherry pick that commit. Javier Domingo -- 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: Change the committer username

2013-03-29 Thread Javier Domingo
You should read the docs. http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup Javier Domingo -- 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: Fwd: Strange remote interaction

2013-03-05 Thread Javier Domingo
> In a usual set-up, an access to git@server:javier/pfc will first > locate the home directory for the user "git" (the token before "@"), > and then its subdirectory javier/pfc, e.g. /home/git/javier/pfc, > while an access to server:javier/pfc will first locate the home > directory of whatever user

Fwd: Strange remote interaction

2013-03-04 Thread Javier Domingo
Hi, I have just had the attached bash session, and I have no idea on what is going on. Any help appreciated, Javier Domingo bug Description: Binary data

Re: Fwd: possible Improving diff algoritm

2012-12-12 Thread Javier Domingo
I must say it is _quite_ helpfull having the diffs well done (natural diffs as here named), just because when you want to review a patch on the fly, this sort of things are annoying. I just wanted to say my opinion. No idea on how to fix that, nor why does it happen. Javier Domingo 2012/12/12

Re: Local clones aka forks disk size optimization

2012-11-14 Thread Javier Domingo
e to do it for windows users (but using cygwin), but for *nix ones yes... Javier Domingo 2012/11/15 Andrew Ardill : > On 15 November 2012 11:40, Javier Domingo wrote: >> Hi Andrew, >> >> The problem about that, is that if I want to delete the first repo, I >> will loos

Re: Local clones aka forks disk size optimization

2012-11-14 Thread Javier Domingo
them. Javier Domingo 2012/11/15 Andrew Ardill : > On 15 November 2012 10:42, Javier Domingo wrote: >> Hi, >> >> I have come up with this while doing some local forks for work. >> Currently, when you clone a repo using a path (not file:/// protocol) >> you get all t