login
Header Space

 
 

Quick question: how to generate a patch?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Monday, February 27, 2006 - 10:57 am

Hi all,

I'm a newbie of git. I have a question about how to generate a patch by git.
I want to make a patch againt git repository HEAD. So in my local
tree, I do the command:

git diff -p > my.patch

The file my.patch is generated. But the unchanged files information is
also included in the patch file. It should be quiet.
Was I wrong to use git by this way?

Thanks for your hints.

Regards,
-Aubrey
-
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:
Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 10:57 am)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 12:04 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 12:18 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 12:32 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 1:02 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 1:19 pm)
Re: Quick question: how to generate a patch?, Andreas Ericsson, (Mon Feb 27, 1:09 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 1:28 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 9:55 pm)
Re: Quick question: how to generate a patch?, Linus Torvalds, (Mon Feb 27, 10:09 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 10:48 pm)
Re: Quick question: how to generate a patch?, Aubrey, (Mon Feb 27, 1:18 pm)
Re: Quick question: how to generate a patch?, Andreas Ericsson, (Mon Feb 27, 11:28 am)
speck-geostationary