login
Header Space

 
 

Re: Re* [PATCH] Make git add -u honor --dry-run

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Miklos Vajna <vmiklos@...>, Git Mailing List <git@...>
Date: Thursday, May 22, 2008 - 5:12 pm

On 2008-05-22 22:38, Junio C Hamano wrote:

No problem!


Applies and fixes my problem (master, and the fix in next works too). 
Thank you!  However, in my process of testing I noticed something else, 
not really a bug but an inconsistency in how things are reported to the 
user:

$ git --version
git version 1.5.5.1.501.gefb4
$ git status
# On branch master
# Changed but not updated:
#   (use "git add <file>..." to update what will be committed)
#
#       modified:   bar/bar
#       modified:   foo
#
no changes added to commit (use "git add" and/or "git commit -a")
$ git add -u -n
add 'bar/bar'
add 'foo'
$ git add -n foo bar/bar
bar/bar foo

I would have expected the output to be the same in this case.

/Gustaf

PS
Sorry for the duplicate Junio, I hit the wrong reply button, and lost 
the whole reply-list.


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Re* [PATCH] Make git add -u honor --dry-run, Junio C Hamano, (Thu May 22, 2:16 pm)
Re: Re* [PATCH] Make git add -u honor --dry-run, Gustaf Hendeby, (Thu May 22, 3:34 pm)
Re: Re* [PATCH] Make git add -u honor --dry-run, Junio C Hamano, (Thu May 22, 4:38 pm)
Re: Re* [PATCH] Make git add -u honor --dry-run, Gustaf Hendeby, (Thu May 22, 5:12 pm)
[PATCH] Make git add -n and git -u -n output consistent, Gustaf Hendeby, (Thu May 22, 5:59 pm)
Re: [PATCH] Make git add -n and git -u -n output consistent, Junio C Hamano, (Fri May 23, 12:40 am)
speck-geostationary